Skip to content

Conversation

@DriesSchaumont
Copy link
Contributor

@DriesSchaumont DriesSchaumont commented Nov 13, 2021

)
tm.assert_frame_equal(df, expected)

def test_loc_getitem_column_boolean_arg(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

can you add all of the examples from the OP (working & not-working), parameterizing if appropriate

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Added isinstance check because tm.assert_equal raises NotImplementedError for scalars.

@jreback jreback added this to the 1.4 milestone Nov 13, 2021
@jreback jreback added Bug Indexing Related to indexing on series/frames, not to indexes themselves labels Nov 13, 2021
Copy link
Member

@phofl phofl left a comment

Choose a reason for hiding this comment

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

lgtm apart from @jreback's comment

@jreback jreback merged commit bc70099 into pandas-dev:master Nov 15, 2021
@jreback
Copy link
Contributor

jreback commented Nov 15, 2021

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

3 participants