Skip to content

BUG: Indexing on nullable column #44551

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 5 commits into from
Nov 25, 2021
Merged

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

@@ -1148,6 +1148,18 @@ def test_loc_setitem_boolean_list(self, rhs_func, indexing_func):
expected = DataFrame({"a": [5, 1, 10]})
tm.assert_frame_equal(df, expected)

def test_iloc_getitem_slice_negative_step_ea_block(self):
# GH#44551
Copy link
Member

Choose a reason for hiding this comment

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

Is an additional Test for loc necessary?

Copy link
Member Author

Choose a reason for hiding this comment

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

not necessary, but harmless. will update.

Copy link
Member Author

Choose a reason for hiding this comment

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

i take it back, will be a bit of a hassle to test loc, so leaving as-is

@jreback jreback added Bug Indexing Related to indexing on series/frames, not to indexes themselves NA - MaskedArrays Related to pd.NA and nullable extension arrays labels Nov 24, 2021
@jreback jreback added this to the 1.4 milestone Nov 24, 2021
@jreback jreback merged commit fc6b441 into pandas-dev:master Nov 25, 2021
@jbrockmendel jbrockmendel deleted the bug-unbounded branch November 25, 2021 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Indexing Related to indexing on series/frames, not to indexes themselves NA - MaskedArrays Related to pd.NA and nullable extension arrays
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants