# Check for nan values and store them in dataset named (nan_values) nan_data = data.isna() nan_data.head()