Skip to content

Draft: [SIGMON-509] adapt code to newer pandas release

Context

  • Pandas new major release 2.0.0 was released April 3, 2023. This new iteration removes a number of deprecated methods.
  • The SWAN environment is currently in version 1.2.2, but some of our users are using this project locally, meaning that they might have dependencies errors if they have the latest version of this package installed

What was done

  • Use column name instead of absolute position to make the code resilient to changes in the order of the dataframe colums

TODO

  • Write acceptance tests (pipeline with pandas>=2.0.0?)

QA

Review objectives

  • assessment of code functionality
  • assessment of code quality

Merge request reports