Skip to content

CLN: indexing Exception in Series #28588

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
Sep 24, 2019
Merged

Conversation

jbrockmendel
Copy link
Member

No description provided.

@@ -1202,3 +1202,12 @@ def test_readonly_indices():
result = df["data"].iloc[indices]
expected = df["data"].loc[[1, 3, 6]]
tm.assert_series_equal(result, expected)


def test_1tuple_without_multiindex():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works already on master right? So not a behavior change just additional coverage?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. This adds coverage for the case where the exception on L1134 is reached

@WillAyd WillAyd added Clean Error Reporting Incorrect or improved errors from pandas Testing pandas testing functions or related to the test suite and removed Testing pandas testing functions or related to the test suite labels Sep 24, 2019
@WillAyd WillAyd added this to the 1.0 milestone Sep 24, 2019
@jreback jreback merged commit 87b5153 into pandas-dev:master Sep 24, 2019
@jreback
Copy link
Contributor

jreback commented Sep 24, 2019

thanks

@jbrockmendel jbrockmendel deleted the faster24 branch September 24, 2019 15:49
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
bongolegend pushed a commit to bongolegend/pandas that referenced this pull request Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Error Reporting Incorrect or improved errors from pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants