experiment-impact-tracker icon indicating copy to clipboard operation
experiment-impact-tracker copied to clipboard

Pandas 2.0 fixes

Open jeffkinnison opened this issue 1 year ago • 0 comments

Updating to Pandas 2.0 resulted in a few minor errors, and this PR should handle the issues I encountered. Fixes include

  • pandas.io.json.json_normalize is now located in pandas.json_normalize
  • pandas.set_option('display.max_colwidth', -1) does not accept negative values, updated to pass None instead
  • casting Series/DataFrame entries to float is deprecated, updated to use float(df.iloc[0])

jeffkinnison avatar Apr 04 '23 16:04 jeffkinnison