A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.xarray.dev/en/stable/generated/xarray.computation.rolling.DataArrayRolling.html below:

xarray.computation.rolling.DataArrayRolling

xarray.computation.rolling.DataArrayRolling#
class xarray.computation.rolling.DataArrayRolling(obj, windows, min_periods=None, center=False)[source]#
__init__(obj, windows, min_periods=None, center=False)[source]#

Moving window object for DataArray. You should use DataArray.rolling() method to construct this object instead of the class constructor.

Parameters:
  • obj (DataArray) – Object to window.

  • windows (mapping of hashable to int) – A mapping from the name of the dimension to create the rolling exponential window along (e.g. time) to the size of the moving window.

  • min_periods (int, default: None) – Minimum number of observations in window required to have a value (otherwise result is NA). The default, None, is equivalent to setting min_periods equal to the size of the window.

  • center (bool, default: False) – Set the labels at the center of the window. The default, False, sets the labels at the right edge of the window.

Returns:

rolling (type of input argument)

Methods

Attributes


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4