Skip to content

[Bug] DataFrame.append() is deprecated in metrics.py with pandas >= 2.0 #44

@JAEKWANBLNR

Description

@JAEKWANBLNR

The current implementation of metrics.py uses the deprecated method DataFrame.append(), which was removed in pandas 2.0+. Running the script with recent versions of pandas throws the following error:

The problematic line is around line 107 in metrics.py:

  • Suggested Fix
    df_all = pd.concat([df_all, df[["sanity_check"]]], ignore_index=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions