Skip to content

Comments

Interp na warning#9813

Draft
hollymandel wants to merge 2 commits intopydata:mainfrom
hollymandel:interp_na_warning
Draft

Interp na warning#9813
hollymandel wants to merge 2 commits intopydata:mainfrom
hollymandel:interp_na_warning

Conversation

@hollymandel
Copy link
Contributor

variables: dict[Hashable, Variable] = {}
reindex: bool = False
for name, var in obj._variables.items():
if var.isnull().any():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah we can't do this really. I thought the behaviour stemmed from NaNs in the coordinate. Scanning the whole array like this is going to be expensive in many cases.

@dcherian
Copy link
Contributor

dcherian commented Dec 2, 2024

Let's close if there are no other ideas, scanning the whole array for NaNs could be quite expensive

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

Successfully merging this pull request may close these issues.

inconsistent 1D interp on 1D and ND DataArrays with NaNs

2 participants