text_plain_output_1.png image_output_1.png
import pandas as pd

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

import seaborn as sns

df = pd.read_csv('/kaggle/input/flight-dataset/Flight_data.csv')

sorted_df = df.sort_values('Customer ID', ascending=False)

Avg_ticket_price = df.groupby('Ticket Price').mean()
Avg_delay_min = df.groupby('Delay Minutes').mean()

df.dropna()

correlation_matrix = df.corr()

df.head()