code: def rolling_window(array, axis, window, center, fill_value):
      
      if isinstance(array, dask_array_type):
          return dask_array_ops.rolling_window(
              array, axis, window, center, fill_value)
      else:  # np.ndarray
          return nputils.rolling_window(
              array, axis, window, center, fill_value)
docs: Make an ndarray with a rolling window of axis-th dimension.
      The rolling dimension will be placed at the last dimension.