-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: iloc.__setitem__ with DataFrame value, multiple blocks, non-unique columns #36337
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
Conversation
does this directly close an issue? |
v = self._align_series( | ||
tuple(sub_indexer), value[item], multiindex_indexer | ||
) | ||
else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the end goal here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont understand the question. 1718-1728 is just an indented version of what we have in the status quo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like you separated out the cases and duplicated the code. So is this making it easier to understand, later refactoring, ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its similar but not identical. this chunk is aligning by label while the chunk above is aligning positionally.
yes, i do hope to refactor this method before too long
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok cool
yes, i do hope to refactor this method before too long
yeah these indexing routines defintely need some TLC
No, stumbled on this bug yesterday |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff