ium_444507/script-stats.py
Adam Wojdyla 87b2996c67 r12
2022-04-02 22:44:45 +02:00

18 lines
633 B
Python
Executable File

import pandas as pd
print('--Full dataset stats--')
cars = pd.read_csv('./Car_Prices_Poland_Kaggle.csv', encoding="utf-8")
print(cars.describe(include='all'))
print('Dev dataset stats')
cars_dev = pd.read_csv('./Car_Prices_Poland_Kaggle_dev.csv', encoding="utf-8")
print(cars_dev.describe(include='all'))
print('# statystyki dla zbioru test')
cars_test = pd.read_csv('./Car_Prices_Poland_Kaggle_test.csv', encoding="utf-8")
print(cars_test.describe(include='all'))
print('# statystyki dla zbioru train')
cars_train = pd.read_csv('./Car_Prices_Poland_Kaggle_train.csv', encoding="utf-8")
print(cars_train.describe(include='all'))