-
Notifications
You must be signed in to change notification settings - Fork 1
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
Same headers in columns mean withColumns returns wrong column number #19
Comments
@SimonbJohnson - could you share a test dataset that triggers the bug? I'm not able to reproduce, but I might be misunderstanding. |
Thanks for the share. I tweaked your code example a bit, so that it reads
The row values look right. I'm a little unclear about the expected output, so maybe we should jump to a Skype chat. |
davidmegginson
added a commit
that referenced
this issue
Jun 23, 2020
davidmegginson
added a commit
that referenced
this issue
Jun 23, 2020
davidmegginson
added a commit
that referenced
this issue
Jun 23, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
withColumns function returns the wrong column number if the headers are the same in multiple columns.
Previously this dataset had a column with header Country (the same as column 1 and column 4) and it gave the wrong result until the header was changed.
rough code to test:
Output gave column number as 1, but was expecting 4.
The text was updated successfully, but these errors were encountered: