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