text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

df = pd.read_csv('/kaggle/input/flight-price-prediction/Clean_Dataset.csv')

df.shape

df.drop('Unnamed: 0', axis=1, inplace=True)

df.isnull().sum()

df.columns

df.airline.value_counts()

plt.figure(figsize=(10, 8))
plt1 = df.airline.value_counts().plot(kind='bar')
plt.title('Airline histogram', fontsize=20)
plt1.set(xlabel = 'airline', ylabel='Frequency of airline')

df.departure_time.value_counts()