Skip to content

CI FutureWarning: The frame.append method is deprecated #330

@DimitriPapadopoulos

Description

@DimitriPapadopoulos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions