text_html_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

train_data = pd.read_csv('/kaggle/input/titanic/train.csv', index_col='PassengerId')

cols_with_missing = [col for col in train_data.columns if train_data[col].isnull().any()]
cols_with_missing