Skip to content

fix: support datetime variables in Dataset.interp#11081

Open
emmanuel-ferdman wants to merge 2 commits intopydata:mainfrom
emmanuel-ferdman:main
Open

fix: support datetime variables in Dataset.interp#11081
emmanuel-ferdman wants to merge 2 commits intopydata:mainfrom
emmanuel-ferdman:main

Conversation

@emmanuel-ferdman
Copy link

PR Summary

Dataset.interp() silently dropped datetime64 and timedelta64 variables. Now they are interpolated by converting to float64 and back, with NaT handled like NaN.

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
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.

Dataset.interp() silently dropping time-like data arrays

1 participant