You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening your first issue here at xarray! Be sure to follow the issue template!
If you have an idea for a solution, we would really welcome a Pull Request with proposed changes.
See the Contributing Guide for more.
It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better.
Thank you!
Illviljan
changed the title
tolerance arguments can be strings
ffill's tolerance argument can be strings
Mar 29, 2024
What happened?
ffill
,bfill
reindex
etc. have tolerance arguments that also supports strings. And we test for it here:xarray/xarray/tests/test_groupby.py
Lines 2016 to 2025 in 2120808
But our typing assumes it's floats only:
xarray/xarray/core/resample.py
Lines 69 to 94 in 2120808
What did you expect to happen?
Since our pytests pass, mypy should pass as well.
Minimal Complete Verifiable Example
Environment
master
The text was updated successfully, but these errors were encountered: