ramp-workflow icon indicating copy to clipboard operation
ramp-workflow copied to clipboard

CI FutureWarning: The frame.append method is deprecated

Open DimitriPapadopoulos opened this issue 1 year ago • 0 comments

pandas.DataFrame.appendpandas.concat

CI warning to fix:

rampwf/hyperopt/tests/test_hyperparameter.py: 256 warnings
  /home/runner/work/ramp-workflow/ramp-workflow/rampwf/hyperopt/hyperopt.py:442: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
    self.df_scores_ = self.df_scores_.append(row, ignore_index=True)

See Don’t append rows to a pandas DataFrame.

DimitriPapadopoulos avatar Feb 01 '23 05:02 DimitriPapadopoulos