text_plain_output_1.png
import matplotlib.pyplot as plt

import numpy as np

import pandas as pd

import seaborn as sns

df = pd.read_csv('../input/airline-passenger-satisfaction/train.csv')

df = df.drop(['Unnamed: 0', 'id'], axis=1)

sns.set_style('whitegrid')
sns.set_context('paper', font_scale=1.4)

np.isnan(df['Arrival Delay in Minutes']).value_counts()

df['Arrival Delay in Minutes'] = df['Arrival Delay in Minutes'].fillna(df['Arrival Delay in Minutes'].mean())
np.isnan(df['Arrival Delay in Minutes']).value_counts()