Loading tutorials
train.csv, the Titanic training se5 min readtrain.csv with pd.read_csv in the previ5 min readtrain.csv into a DataFrame called df, as in the previous chapters, and that you are comfortable with5 min readread_csv, build boolean masks, and read the output of describe and info. It also assumes the earlier chapters' habit of looking at the data before computing anything on it. The goal is to decide whether the table can be trusted before you compare gr6 min readtrain.csv into a DataFrame called df and looked at df.shape, df.head(), and df.info(). It also assumes you know what missing values are (the previous chapter cov6 min readtrain.csv into df, as in the earlier c5 min readtrain.csv into a DataFrame called df (see the loading chapter), that you know basic Python lists and dictionaries, and that you have run df.head() and df.info() at least once. Here you learn to pull out the columns and rows you care about, which every later 5 min readpd.cut, then covers related techniques and the errors that most often appear.5 min readtrain.csv into a DataFrame called df, filter rows with boolean masks, and that you have already created the AgeGroup column with pd.cut. It covers groupby, aggregation with agg, and the checks that keep group comparisons honest.5 min readdescribe() flattens into a few statistics. A grouped bar chart makes a survival gap between groups visible at a glance. This chapter uses the pandas plotting API, which draws with matplotlib, to look at single columns5 min readtrain.csv into a DataFrame called df, select columns, and use groupby. It also assumes you have met the AgeGroup column from the earlier chapter on derived columns. You need pandas and matplotlib installed.6 min readtrain.csv code from the previous chapters, that df is the Titanic DataFrame, and that you know groupby, boolean masks, and `va6 min read