Skip to content

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry


retval = getattr(retval, self.name)._getitem_axis(key, axis=i)
# We should never have retval.ndim < self.ndim, as that should
# be handled by the _getitem_lowerdim call above.
Copy link
Member

Choose a reason for hiding this comment

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

Worth adding an assert here?

@jreback jreback added Clean Indexing Related to indexing on series/frames, not to indexes themselves labels Feb 12, 2020
@jreback jreback added this to the 1.1 milestone Feb 12, 2020
@jreback
Copy link
Contributor

jreback commented Feb 12, 2020

lgtm. @WillAyd comment seems worth it.

@WillAyd WillAyd merged commit 48cb5a9 into pandas-dev:master Feb 12, 2020
@WillAyd
Copy link
Member

WillAyd commented Feb 12, 2020

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the same_dim branch February 12, 2020 17:49
roberthdevries pushed a commit to roberthdevries/pandas that referenced this pull request Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Indexing Related to indexing on series/frames, not to indexes themselves
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants