text_plain_output_1.png
import pandas as pd

training_set = pd.read_csv('/kaggle/input/aviachipta-narxini-bashorat-qilish/train_data.csv')
test_set = pd.read_csv('/kaggle/input/aviachipta-narxini-bashorat-qilish/test_data.csv')

airlines = list(training_set.airline) + list(test_set.airline)
flights = list(training_set.flight) + list(test_set.flight)
source_cities = list(training_set.source_city) + list(test_set.source_city)
departure_times = list(training_set.departure_time) + list(test_set.departure_time)
stops = list(training_set.stops) + list(test_set.stops)
arrival_times = list(training_set.arrival_time) + list(test_set.arrival_time)
destination_cities = list(training_set.destination_city) + list(test_set.destination_city)
classes = list(training_set['class']) + list(test_set['class'])

training_set.nunique()