text_html_output_1.png
import matplotlib.pyplot as plt

import numpy as np # linear algebra

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

import seaborn as sns

df_flight = pd.read_csv('/kaggle/input/airindia-monthly-passenger-traffic/AirIndia (International).csv')

df_flight.isnull().sum()

cat_cols = df_flight.columns[df_flight.dtypes == object]
num_cols = df_flight.select_dtypes(include=np.number).columns.tolist()

for col in df_flight.select_dtypes(include=np.number).columns.tolist():
    print(col)
    plt.figure(figsize=(15, 4))
    plt.subplot(1, 2, 1)
    sns.distplot(a=df_flight[col], bins=20, color='green', hist_kws={'edgecolor': 'black'})
    plt.ylabel('count')
    plt.subplot(1, 2, 2)
    sns.boxplot(x=df_flight[col], color='pink')
    plt.show()