Loading tutorials
train.csv, the Titanic training file, in your working directory. Here you load the file and check that the load worked. The next chapter 2 min readtrain.csv in your working directory from the previous chapter. The goal is a quick, repeatable inspection that tells you what the table holds before you com3 min readdf already holds the Titanic training data from pd.read_csv("train.csv"). It also assumes you know what a DataFrame and a boolean mask are.3 min readtrain.csv into a DataFrame called df (see the earlier chapters) and that you know basic pandas indexing. The goal is to check whether the table contains repeated rows or values that cannot be right, before you summarize anything.3 min readtrain.csv into a DataFrame named df, as in the earlier chapters, and that you know what a Series is. You should also know the basic dtypes (int64, float64, object). Here you will summarize the numeric columns and learn to read the summary critically.2 min readtrain.csv into a DataFrame named df, as in earlier chapters. You should also know how to select a column with df["Name"], which returns a Series.2 min readtrain.csv into a DataFrame named df. Selecting and filtering let you look at one slice of the data at a time. That is the step before comparing groups.2 min readdf, and that you know how to select columns and filter rows with boolean masks. It also assumes you have already looked at missing values, because Age has many of them.3 min readtrain.csv into a DataFrame called df, filter rows with boolean masks, and have already created the AgeGroup column with pd.cut. Here you compare subgroups of passengers. You will use groupby to compute survival rates and check how many passengers each rate2 min readdf, and that you have already built the AgeGroup column and run groupby summaries. You also need matplotlib installed. Tables tell you the numbers. Plots show the shape of the data, such as skew, gaps, and outliers, that2 min readtrain.csv into a DataFrame named df, as in earlier chapters, and that you are comfortable with groupby and basic plotting. A correlation is a single number that summarizes how two numeric columns move together. It is a quick way to decide where to look next3 min readtrain.csv into a DataFrame called df, and that you have already used isna, groupby, and pd.cut. Here you learn to check whether a result means what it appears to mean.2 min readAgeGroup column, use groupby, and read a correlation table. The last step of an exploration is to record what you learned, so the work can be checked and r2 min read