Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Attribute is not a left or a right table column, not a label or id and is not ignored. Not sure what it is... #81

Open
ektaatomar opened this issue May 17, 2021 · 1 comment

Comments

@ektaatomar
Copy link

Error while reading training and testing files.

train, validation, test = dm.data.process(path='/content', train='train.csv', validation='validation.csv', test='test.csv')

Data format- Train.csv, validation.csv and Test.csv

id left_id left_Name right_id right_Name label
0 0 3pl 0 3pl 1
1 1 becker logistics 1 3pl 1
@ektaatomar
Copy link
Author

Well, I found out what was happening. Let me first explain the scenario.
I started with my own dataset and created the train and test in the code by splitting data file . So when I wrote it back to csv's for train and test, the index was not set to false and because of that in the process.py file the header was getting a blank header value which throw everything off. But now that's fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant