code: def test_rolling_var_std_large(agg, ddof, center, seed, window_size):
      iupper_bound = math.sqrt(np.iinfo(np.int64).max / window_size)
      ilower_bound = -math.sqrt(
          abs(np.iinfo(np.int64).min) / window_size
      )
  
      fupper_bound = math.sqrt(np.finfo(np.float64).max / window_size)
      flower_bound = -math.sqrt(
          abs(np.finfo(np.float64).min) / window_size
      )
  
      n_rows = 1_000
      data = rand_dataframe(
          dtypes_meta=[
              {
                  "dtype": "int64",
                  "null_frequency": 0.4,
                  "cardinality": n_rows,
                  "min_bound": ilower_bound,
                  "max_bound": iupper_bound,
              },
              {
                  "dtype": "float64",
                  "null_frequency": 0.4,
                  "cardinality": n_rows,
                  "min_bound": flower_bound,
                  "max_bound": fupper_bound,
              },
              {
                  "dtype": "decimal64",
                  "null_frequency": 0.4,
                  "cardinality": n_rows,
                  "min_bound": ilower_bound,
                  "max_bound": iupper_bound,
              },
          ],
          rows=n_rows,
          use_threads=False,
          seed=seed,
      )
      pdf = data.to_pandas()
      gdf = cudf.from_pandas(pdf)
  
      expect = getattr(pdf.rolling(window_size, 1, center), agg)(
          ddof=ddof
      )
      got = getattr(gdf.rolling(window_size, 1, center), agg)(ddof=ddof)
  
      import platform
  
      if platform.machine() == "aarch64":
          # Due to pandas-37051, pandas rolling var/std on uniform window is
          # not reliable. Skipping these rows when comparing.
          for col in expect:
              mask = (got[col].fillna(-1) != 0).to_pandas()
              expect[col] = expect[col][mask]
              got[col] = got[col][mask]
              assert_eq(expect[col], got[col], check_freq=False)
      else:
          assert_eq(expect, got, check_freq=False)
  
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 5 for calling a global function with example usage: test_rolling_var_std_large(agg, ddof, center, seed, window_size) without return types