text_plain_output_1.png
import matplotlib.pyplot as plt

import seaborn as sns

titanic = sns.load_dataset('titanic')

titanic.isnull().sum()

titanic.shape[0]

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

plt.hist(titanic['age'])