Skip to content

[MNT] reimplement horizontal/vertical slicing and remove __finalize__ from _constructor(_sliced) #349

@theOehrly

Description

@theOehrly

Pandas is in the progress of deprecating to allow non-class returns from _constructor and _constructor_sliced (pandas-dev/pandas#52420).

This in turn means that FastF1 needs to change its implementations for differentiating between horizontal and vertical slicing of dataframes.
Also, the __finalize__ call that is done as a patch to work around the incomplete implementation in pandas needs to be removed from the constructor properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenanceChanges required to gurantee that things work properly in the future stillpandasIssue is related to (subclassing) pandas

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions