Skip to content

[FEATURE]: filter warnings due to pandas index deprecation #6201

Closed
@thomasastanley

Description

@thomasastanley

I just created a new env with
xarray 0.20.2 pyhd8ed1ab_0 conda-forge

when pandas 1.4 is also installed, it generates a ton of warnings due to deprecated indices.

the workaround is to roll back to pandas 1.3:

pandas 1.3.5 py310hb5077e9_0 conda-forge

Describe the solution you'd like

filter the warnings that come from this deprecation: https://pandas.pydata.org/docs/whatsnew/v1.4.0.html#deprecated-int64index-uint64index-float64index

possibly this is addressed here, i don't know: #6195

Describe alternatives you've considered

in the long run, i suppose the way the indices themselves must be replaced, rather than just silencing the warnings.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions