You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In dataset.py, line 29 and 33, you usepd.read_csv to read from your data that generated from original data. However, you forget to add param header = -1, because the new test.csv and train.csv actully don't have a header. And pandas will use the first line of data as the header, which will cause an index error later.
The follows are what the code should be like.
In
dataset.py
, line 29 and 33, you usepd.read_csv
to read from your data that generated from original data. However, you forget to add paramheader = -1
, because the newtest.csv
andtrain.csv
actully don't have a header. Andpandas
will use the first line of data as the header, which will cause an index error later.The follows are what the code should be like.
The text was updated successfully, but these errors were encountered: