-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
CoW: Deprecate copy keyword from first set of methods #57347
Conversation
# Conflicts: # pandas/core/generic.py
"version. Copy-on-Write is active in pandas since 3.0 which utilizes " | ||
"a lazy copy mechanism that defers copies until necessary. Use " | ||
".copy() to make an eager copy if necessary.", | ||
DeprecationWarning, |
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.
DeprecationWarning
because we're going to start following DeprecationWarning
-> FutureWarning
?
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.
Yep, my intention was to switch to FutureWarning in 3.2, but I suspect that copy=False is used by a lot of downstream libraries
Thanks @phofl |
* CoW: Remove a few copy=False statements * Cow: Deprecate copy keyword from first set of methods * Fixup * Update * Update * Update
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.