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

Fix bug where use of .ix[tuple(...)]=x fails to correctly check out of b... #5896

Merged
merged 2 commits into from
Jan 9, 2014

Conversation

burrowsa
Copy link
Contributor

@burrowsa burrowsa commented Jan 9, 2014

...ounds index for columns. This is a regression as it used to work in pandas 0.12.0. The code incorrectly checks the column index against the len() of the dataframe to see if it is in bounds not against the number of columns. Have added 2 tests with non-square dataframes to test that the fix works.

@jreback
Copy link
Contributor

jreback commented Jan 9, 2014

gr8 pls add a release notes entry refing this PR as I don't think this has an issue associated?

@jreback
Copy link
Contributor

jreback commented Jan 9, 2014

perfect...just need to rebase (conflict in release notes)...

git rebase -i upstream/master

fixup and force push...then can merge

Andrew Burrows and others added 2 commits January 9, 2014 22:15
…f bounds index for columns. This is a regression as it used to work in pandas 0.12.0. The code incorrectly checks the column index against the len() of the dataframe to see if it is in bounds not against the number of columns. Have added 2 tests with non-square dataframes to test that the fix works.
jreback added a commit that referenced this pull request Jan 9, 2014
Fix bug where use of .ix[tuple(...)]=x fails to correctly check out of b...
@jreback jreback merged commit 06d9d06 into pandas-dev:master Jan 9, 2014
@jreback
Copy link
Contributor

jreback commented Jan 9, 2014

thanks!

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.

None yet

2 participants