From 68492e3dbbed4d4cf90377471ff7c0b1d92cf28a Mon Sep 17 00:00:00 2001 From: Maciej Sobkowiak Date: Tue, 18 May 2021 23:28:26 +0200 Subject: [PATCH] Read data --- main.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..64c35dd --- /dev/null +++ b/main.py @@ -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)