text_plain_output_1.png
import seaborn as sns

titanic = sns.load_dataset('titanic')

titanic.isnull().sum()

titanic.shape[0]

titanic.isnull().sum() / titanic.shape[0]

titanic.isnull().sum()

titanic.drop('deck', axis=1, inplace=True)

titanic.isnull().sum()

titanic['class'].value_counts()