# dask.dataframe.Index.rolling

#### Index.rolling(window, \*\*kwargs)

Provides rolling transformations.

* **Parameters:**
  **window**
  : Size of the moving window. This is the number of observations used
    for calculating the statistic. When not using a `DatetimeIndex`,
    the window size must not be so large as to span more than one
    adjacent partition. If using an offset or offset alias like ‘5D’,
    the data must have a `DatetimeIndex`

  **min_periods**
  : Minimum number of observations in window required to have a value
    (otherwise result is NA).

  **center**
  : Set the labels at the center of the window.

  **win_type**
  : Provide a window type. The recognized window types are identical
    to pandas.

  **axis**
  : This parameter is deprecated with `pandas>=2.1`.
* **Returns:**
  a Rolling object on which to call a method to compute a statistic

<!-- !! processed by numpydoc !! -->
