text_plain_output_1.png image_output_1.png
import pandas as pd

import pandas as pd

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

train = pd.read_csv('/kaggle/input/airline-passenger-satisfaction/train.csv', index_col=None)
test = pd.read_csv('/kaggle/input/airline-passenger-satisfaction/test.csv', index_col=None)

test = test.drop('Unnamed: 0', axis=1)

test = test.fillna(test.mean())

for _ in test.columns:
    print('The number of null values in:{} == {}'.format(_, test[_].isnull().sum()))