★☆☆ - You should be able to based on Python knowledge plus the text.
★★☆ - You will need to do extra thinking and some extra reading/searching.
★★★ - The answer is difficult to find by a simple search, requires you to do a considerable amount of extra work by yourself (feel free to ignore these exercises if you're short on time).
We will use the titanic data for this set of exercises, it gives the account of the survivors
from that tragic voyage. Since the accounts are often incomplete, or the accounts for many could
not even be found, there is a very good deal of missing data, you will need to be careful with that.
We use the
seaborn library to import the dataset because it has an easy to use
procedure made specifically for this purpose.
There is no need to use
seaborn to perform the exercises.
import numpy as np import matplotlib.pyplot as plt %matplotlib inline plt.style.use('seaborn-talk') import pandas as pd import seaborn as sns titanic = sns.load_dataset('titanic') titanic