Skip to content

Deprecate ptp method on DataArray and Dataset #935

@ecomodeller

Description

@ecomodeller

np.ptp is deprecated since NumPy 2.0 and xarray has no equivalent. Deprecate DataArray.ptp() and Dataset.ptp() — users can use .max() - .min() instead.

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