Skip to content

BUG: IndexError on read_csv/read_table when using usecols/names parameters and omitting last column #5767

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

Conversation

wrenoud
Copy link
Contributor

@wrenoud wrenoud commented Dec 23, 2013

This addresses an issue in read_csv/read_table where there is no header and both usecols and names are assigned but the last column is not included. This caused an IndexError after reaching the last column specified in usecols. Existing test cases for usecols were modified to expose and address this specific issue.
#5766

This is an issue in read_csv/read_table  where there is no header and
both usecols and names and assigned but the last column is not included.
This caused an IndexError after reaching the last column specified in usecols.
@ghost
Copy link

ghost commented Dec 25, 2013

superceded by #5770, I cherry picked the test, Thanks

@ghost ghost closed this Dec 25, 2013
@wrenoud wrenoud deleted the issue-5766-fix-read_csv-usecols-and-names-without-last-col branch February 7, 2014 19:45
This pull request was closed.
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

Successfully merging this pull request may close these issues.

1 participant