ium_z444439/stats.py

10 lines
526 B
Python
Raw Normal View History

2023-04-19 18:47:42 +02:00
import pandas
2023-05-11 18:27:25 +02:00
adult_dev = pandas.read_csv('X_dev.csv', engine='python', encoding='ISO-8859-1', sep=',')
adult_train = pandas.read_csv('X_train.csv', engine='python', encoding='ISO-8859-1', sep=',')
adult_test = pandas.read_csv('X_test.csv', engine='python', encoding='ISO-8859-1', sep=',')
2023-04-19 18:47:42 +02:00
2023-04-19 19:46:29 +02:00
adult_dev.describe(include='all').to_csv('adult_dev_stats.csv', index=True)
adult_train.describe(include='all').to_csv('adult_train_stats.csv', index=True)
adult_test.describe(include='all').to_csv('adult_test_stats.csv', index=True)