Read data

This commit is contained in:
Maciej Sobkowiak 2021-05-18 23:28:26 +02:00
parent 5c4bb10ddf
commit 68492e3dbb

12
main.py Normal file
View File

@ -0,0 +1,12 @@
import pandas as pd
labels = ["mileage", "year", "brand", "engine_type", "engine_capacity"]
# Read data
dev = pd.read_table('dev-0/in.tsv', error_bad_lines=False, header=None)
test = pd.read_table('test-A/in.tsv', error_bad_lines=False, header=None)
test_expected = pd.read_table(
'dev-0/expected.tsv', error_bad_lines=False, header=None)
train = pd.read_table('train/train.tsv', error_bad_lines=False, header=None)
print(dev)