code: def _find_extra_chunks_for_int_window(cls, op, inp, cur_chunk_index):
      from ...indexing.iloc import (
          DataFrameIlocGetItem,
          SeriesIlocGetItem,
      )
  
      axis = op.axis
      window = op.window
      center = op.center
  
      # find prev chunks
      i = cur_chunk_index[axis]
      rest = window if not center else window // 2
      prev_chunks = []
      while i > 0 and rest > 0:
          prev_chunk_index = list(cur_chunk_index)
          prev_chunk_index[axis] = i - 1
          prev_chunk_index = tuple(prev_chunk_index)
  
          prev_chunk = inp.cix[prev_chunk_index]
          size = prev_chunk.shape[axis]
          if size <= rest:
              prev_chunks.insert(0, prev_chunk)
              rest -= size
          else:
              if prev_chunk.ndim == 1:
                  slice_prev_chunk_op = SeriesIlocGetItem(
                      indexes=[slice(-rest, None)]
                  )
              else:
                  slices = [slice(None)] * 2
                  slices[axis] = slice(-rest, None)
                  slice_prev_chunk_op = DataFrameIlocGetItem(
                      indexes=slices
                  )
              slice_prev_chunk = slice_prev_chunk_op.new_chunk(
                  [prev_chunk]
              )
              prev_chunks.insert(0, slice_prev_chunk)
              rest = 0
  
          i -= 1
  
      # find succ chunks
      j = cur_chunk_index[axis]
      rest = 0 if not center else window - window // 2 - 1
      chunk_size = inp.chunk_shape[axis]
      succ_chunks = []
      while j < chunk_size - 1 and rest > 0:
          succ_chunk_index = list(cur_chunk_index)
          succ_chunk_index[axis] = j + 1
          succ_chunk_index = tuple(succ_chunk_index)
  
          succ_chunk = inp.cix[succ_chunk_index]
          size = succ_chunk.shape[axis]
          if size <= rest:
              succ_chunks.append(succ_chunk)
              rest -= size
          else:
              if succ_chunk.ndim == 1:
                  slice_succ_chunk_op = SeriesIlocGetItem(
                      indexes=[slice(rest)]
                  )
              else:
                  slices = [slice(None)] * 2
                  slices[axis] = slice(rest)
                  slice_succ_chunk_op = DataFrameIlocGetItem(
                      indexes=slices
                  )
              slice_succ_chunk = slice_succ_chunk_op.new_chunk(
                  [succ_chunk]
              )
              succ_chunks.append(slice_succ_chunk)
              rest = 0
  
          j += 1
  
      return prev_chunks, succ_chunks
  
imports: import numpy
  import pandas
  from ....None import opcodes
  from ....core import recursive_tile
  from ....serialization.serializables import FieldTypes, AnyField, Int64Field, BoolField, StringField, Int32Field, KeyField, TupleField, DictField, ListField
  from ....utils import lazy_import, has_unknown_shape, pd_release_version, calc_nsplits
  from ...operands import DataFrameOperand, DataFrameOperandMixin
  from ...core import DATAFRAME_TYPE
  from ...utils import build_empty_df, build_empty_series, parse_index
label_desc: Use image node_id 18 for calling the DataFrameRollingAgg obj's underlying member method code with example usage: obj._find_extra_chunks_for_int_window(cls, op, inp, cur_chunk_index) and returns: prev_chunks,  succ_chunks