-
|
I'm trying to replace each cell's value by 50x50 window. However there're some nan values and the result would be all nan: How to calculate the mean value considering nan? |
Beta Was this translation helpful? Give feedback.
Answered by
dcherian
Feb 18, 2025
Replies: 1 comment 1 reply
-
|
Pass |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zxdawn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Pass
min_periods: https://docs.xarray.dev/en/stable/generated/xarray.DataArray.rolling.html