Skip to content

Conversation

@jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Mar 6, 2020

@jreback jreback added Bug Indexing Related to indexing on series/frames, not to indexes themselves labels Mar 8, 2020
@jreback jreback added this to the 1.1 milestone Mar 8, 2020
pi = plane_indexer[0] if lplane_indexer == 1 else plane_indexer

def isetter(loc, v):
ser = self.obj._ixs(loc, axis=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 you comment that this is not a positional setter

self._ensure_valid_index(value)

# passing loc to sanitize_column is a misnomer, but harmless
# with broadcast=False as long as value is never a DataFrame
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure i unserstand this comment

@jbrockmendel
Copy link
Member Author

updated+green

@jreback jreback merged commit 33f67d9 into pandas-dev:master Mar 11, 2020
@jreback
Copy link
Contributor

jreback commented Mar 11, 2020

thanks!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replacing a column with iloc replaces another column with same name BUG: .iloc indexing with duplicates

2 participants