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

train_file_path = '../input/titanic/train.csv'
gs_file_path = '../input/titanic/gender_submission.csv'
main_df = pd.read_csv(train_file_path)
gender_sub_df = pd.read_csv(gs_file_path)

cols1 = main_df.columns.to_list()
cols2 = gender_sub_df.columns.to_list()

print('************** Train Dataset *************************')
for i in cols1:
    print('Column :' + i + ' count : ' + str(main_df[i].isnull().sum()))
print('************** Gender submission Dataset *************************')
for i in cols2:
    print('Column :' + i + ' count : ' + str(gender_sub_df[i].isnull().sum()))