usnistgov/P-RSoXR

Pandas 1.4 - 2.0 Depreciation and Python 3.12 Migration

HarlanHeilman opened this issue · 1 comments

Pandas Deppriciations

When loading .fits files and creating run macros, some instances of the code use a df.append() method that has been appreciated since pandas version 1.4. New Pandas versions are more performant, especially the change to 2.0, where the Pyarrow backend was adopted.

  • Update the fits loading method for the Loader class
  • Update the macro generation append methods

Python 3.12

  • Validate the package for Python 3.12

The pd.append method was updated to pd.concat for the load_prsoxr_fits function. This is currently in the package update branch.