Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings in proper_unstack #33

Open
crusaderky opened this issue Feb 4, 2024 · 1 comment
Open

Warnings in proper_unstack #33

crusaderky opened this issue Feb 4, 2024 · 1 comment

Comments

@crusaderky
Copy link
Owner

crusaderky commented Feb 4, 2024

Tests for proper_unstack triggers two warnings in xarray.
They've been temporarily suppressed but need to be looked at:

# FIXME https://github.com/crusaderky/xarray_extras/issues/33
pytestmark = pytest.mark.filterwarnings(
"ignore:Updating MultiIndexed coordinate .* would corrupt indices",
"ignore:invalid value encountered in cast:RuntimeWarning",
)

@crusaderky
Copy link
Owner Author

This module is vendored in ndcsv and recursive_diff too.

There, there's 2 additional warnings (probably due to different dependencies?)

'ignore:the `pandas.MultiIndex` object.* will no longer be implicitly promoted:FutureWarning',
'ignore:updating coordinate .* with a PandasMultiIndex:FutureWarning',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant