Skip to content
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

Migrate to pandas Copy-on-Write #1382

Open
lkstrp opened this issue Oct 22, 2024 · 0 comments
Open

Migrate to pandas Copy-on-Write #1382

lkstrp opened this issue Oct 22, 2024 · 0 comments

Comments

@lkstrp
Copy link
Member

lkstrp commented Oct 22, 2024

Since this has come up in discussions:

  • Pandas is migrating to copy and write behaviour (see here). In pandas>=3.0 this will be the default.
  • Most of the problems currently associated with current implementation are already handled by pandas warnings (see docs). But we might want to switch to this at some point before pandas 3.0 arrives, to get all the benefits and let people be more sure about their data references. There's a lot of safety-first .copy()ing going on now, which wouldn't be necessary and would be more clear.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant