Update 'dataset-stats.py'
This commit is contained in:
parent
c0f7f4253b
commit
f196a34637
@ -0,0 +1,18 @@
|
||||
import pandas
|
||||
|
||||
X_train = pandas.read_csv('X_train.csv',
|
||||
engine='python',
|
||||
encoding='ISO-8859-1',
|
||||
sep=',')
|
||||
X_dev = pandas.read_csv('X_dev.csv',
|
||||
engine='python',
|
||||
encoding='ISO-8859-1',
|
||||
sep=',')
|
||||
X_test = pandas.read_csv('X_test.csv',
|
||||
engine='python',
|
||||
encoding='ISO-8859-1',
|
||||
sep=',')
|
||||
|
||||
X_train.describe(include='all').to_csv('X_train_stats.csv', index=True)
|
||||
X_dev.describe(include='all').to_csv('X_dev_stats.csv', index=True)
|
||||
X_test.describe(include='all').to_csv('X_test_stats.csv', index=True)
|
Loading…
Reference in New Issue
Block a user