code: def test_rolling_indexer_support(indexer):
      df = pd.DataFrame({"B": [0, 1, 2, np.nan, 4]})
      gdf = cudf.from_pandas(df)
  
      expected = df.rolling(window=indexer, min_periods=2).sum()
      actual = gdf.rolling(window=indexer, min_periods=2).sum()
  
      assert_eq(expected, actual)
  
imports: import math
  from contextlib import contextmanager
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.core._compat import PANDAS_GE_150
  from cudf.testing._utils import _create_pandas_series_float64_default, assert_eq
  from cudf.testing.dataset_generator import rand_dataframe
label_desc: Use image node_id 18 for calling a global function with example usage: test_rolling_indexer_support(indexer) without return types