image_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')

print('\n\nDatasetlarning qatorlar soni :\n', '#' * 40)
print('\nTraining Set : ', len(training_set))
print('Test Set : ', len(test_set))
print('\n\nDatasetlarning ustunlar soni :\n', '#' * 40)
print('\nTraining Set : ', len(training_set.columns))
print('Test Set : ', len(test_set.columns))
print('\n\nDatasetning ustunlari nomi :\n', '#' * 40)
print('\nTraining Set : ', list(training_set.columns))
print('Test Set : ', list(test_set.columns))
print('\n\nDataset ustunlari turi :\n', '#' * 40)
print('\nTraining Set : ', training_set.dtypes)
print('\nTest Set : ', test_set.dtypes)
print("\n\nNaN qiymat yoki bo'sh yachaykalar :\n", '#' * 40)
print('\nTraining Set : ', training_set.isnull().values.any())
print('\nTest Set : ', test_set.isnull().values.any())
print('\n\nInfo:\n', '#' * 40)
training_set.info()