-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Fix setitem with 1d matrix #44669
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
Tests fail with the new array manager, but don't with the block manager. Not sure what I should do about that, as it's unclear if this is intentional. |
What should be done about the tests failing with the new data manager? I, personally, would expect the two dimensional array that only has multiple indices along one dimension to keep working for column assignment. |
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.
pls add a whatsnew note. i think you can just skip for array manager for now. or fix it.
Added
I'm a bit short on time for the moment, so I'd opt to skip it. I've opened an issue for this: #44788 Is there documentation somewhere about what the new array manager is exactly? My assumption is it's around the BlockManager rewrite? |
use or can do like this
|
Added the skip, I think the remaining CI failures are unrelated. |
Not really. I think there has been reticence to put it in the public docs because it is still experimental and may be removed. |
Might be useful to mention in the contributing docs. It was a little confusing why tests were failing on CI at first. Was there anything else I should do here? |
just merge master pls |
thanks @ivirshup very nice. sorry for the delay, quite a number of ci issues came up of late. |
No worries, thanks for the merge! |
np.matrix
behaviour change #42376Fixes the case
df["mean"] = sparse.random(100, 10).mean(axis=1)
assigning a broken column.Wasn't sure where the test should go, I feel like there must be a test for
x = np.ones((10, 1)); df["x"] = x
somewhere.