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

TST: verify we can add and subtract from indices (#8142) #16629

Merged
merged 1 commit into from
Jun 8, 2017

Conversation

dsm054
Copy link
Contributor

@dsm054 dsm054 commented Jun 8, 2017

This just provides a validating test that some basic arithmetic on int64 and float64 indices works, and in particular that things like pd.Int64Index([1, 2]) - 1 no longer raise Exception: Input must be iterable!.

Should be able to close #8142, which in practice hasn't been applicable for a long time.

@jreback jreback added the Testing pandas testing functions or related to the test suite label Jun 8, 2017
@jreback jreback added this to the 0.21.0 milestone Jun 8, 2017
@jreback jreback added the Indexing Related to indexing on series/frames, not to indexes themselves label Jun 8, 2017
@jreback jreback merged commit 73930c5 into pandas-dev:master Jun 8, 2017
@jreback
Copy link
Contributor

jreback commented Jun 8, 2017

thanks!

@dsm054 dsm054 deleted the test/index_arithmetic branch June 8, 2017 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indexing Related to indexing on series/frames, not to indexes themselves Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Index __sub__ should check for instance of Index
2 participants