Skip to content

Clean up tests to avoid FutureWarning: ChainedAssignmentError #1122

@leostimpfle

Description

@leostimpfle

There are many tests that trigger the avoidable FutureWarning: ChainedAssignmentError which is caused by assigning a value to a copy of a pandas.DataFrame (see, e.g. here which is caused by this line). It would be nice to update the affected tests to reduce the amount of clutter in the test output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good-issue-to-startGood first issue for newcomers interested in contributing to pyfixest. Quick wins possible! =)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions