Skip to content

[Feature]: Update panda to copy-on-write and re-enable warnings #224

@paulf81

Description

@paulf81

Description

FLASC makes extensive use of pandas. Currently many of the scripts in flasc use warning suppressions, and many of these are warning about changes made to copies to dataframes. Beginning as an option in pandas 2 and becoming default in pandas 3, is the option to enable a copy-on-write behavior. Enabling this throughout the flasc should:

  • Lower risk of bugs
  • Gain performance improvements
  • Remove the need to suppress warnings

Propose we should work this in soon

Related URLs

https://pandas.pydata.org/docs/user_guide/copy_on_write.html#copy-on-write-chained-assignment

Metadata

Metadata

Labels

enhancementAn improvement of an existing feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions