🍾 Xarray is now 10 years old! 🎉

xarray.core.rolling.DataArrayRolling.argmin

xarray.core.rolling.DataArrayRolling.argmin#

DataArrayRolling.argmin(keep_attrs=None, **kwargs)[source]#

Reduce this object’s data windows by applying argmin along its dimension.

Parameters:
  • keep_attrs (bool, default: None) – If True, the attributes (attrs) will be copied from the original object to the new one. If False, the new object will be returned without attributes. If None uses the global default.

  • **kwargs (dict) – Additional keyword arguments passed on to argmin.

Returns:

reduced (same type as caller) – New object with argmin applied along its rolling dimension.