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

also get the exceptions/messages in test_setitem_ndarray_3d to be maximally-specific

@jreback jreback added the Indexing Related to indexing on series/frames, not to indexes themselves label Feb 9, 2020
@jreback jreback added this to the 1.1 milestone Feb 9, 2020
missing_value = StataMissingValue(um)

loc = missing_loc[umissing_loc == j]
if loc.ndim == 2 and loc.shape[1] == 1:
Copy link
Contributor

Choose a reason for hiding this comment

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

can we make a note to refactor this; this seems a bit fishy; cc @bashtage

@jreback jreback merged commit 74dad82 into pandas-dev:master Feb 9, 2020
@jreback
Copy link
Contributor

jreback commented Feb 9, 2020

thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the bug-iloc-setitem-3d branch February 9, 2020 17:24
bashtage added a commit to bashtage/pandas that referenced this pull request Feb 10, 2020
Use nonzero to preserve 1d of Series

xref pandas-dev#31813
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants