Skip to content

BUG/CLN: fix iloc when positional indexer matched Int64Index key #6614

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

Merged
merged 1 commit into from
Mar 12, 2014

Conversation

immerrr
Copy link
Contributor

@immerrr immerrr commented Mar 12, 2014

closes #6612

As discussed in #6612, reindex(..., takeable=True) as released in 0.13.0 didn't do anything that's not achieved by .take, .iloc and .copy attrs/methods, but also contained a bug which propagated to iloc when the latter was changed to use reindex/takeable internally.

The proposed solution is to remove reindex/takeable functionality altogether. According to @jreback, it was never supposed to be a part of public API, so probably no deprecation procedure is necessary.

@immerrr
Copy link
Contributor Author

immerrr commented Mar 12, 2014

I'll add tests & release notes later tonight.

@jreback
Copy link
Contributor

jreback commented Mar 12, 2014

looks good
simple release note is fine

@jreback jreback added this to the 0.14.0 milestone Mar 12, 2014
Also, drop takeable parameter from reindex(...) function family.
@immerrr
Copy link
Contributor Author

immerrr commented Mar 12, 2014

I've added this as a bug fix as it technically fixed a bug with iloc (and also renamed the issue).

jreback added a commit that referenced this pull request Mar 12, 2014
BUG/CLN: fix iloc when positional indexer matched Int64Index key
@jreback jreback merged commit 42ef6fd into pandas-dev:master Mar 12, 2014
@jreback
Copy link
Contributor

jreback commented Mar 12, 2014

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG/API: maybe drop recently introduced "takeable" from reindex?
2 participants