-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: Test CoW with DataFrame.items() #50595
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
df = DataFrame({"a": [1, 2, 3], "b": [4, 5, 6], "c": [7, 8, 9]}) | ||
df_orig = df.copy() | ||
for name, vals in df.items(): | ||
ser = Series(vals) |
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.
Does vals
need to be rewrapped in Series
? vals is already a Series
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.
Thanks updated.
@lithomas1 can you update this for Matt's small comment? |
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.
Thanks!
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.