code: def test_rolling(rolling_data):
      import dtale.views as views
  
      df, _ = views.format_data(rolling_data)
      data_id, column_type = "1", "rolling"
      build_data_inst({data_id: df})
  
      cfg = {
          "col": "0",
          "comp": "mean",
          "window": "5",
          "min_periods": 1,
      }
      builder = ColumnBuilder(
          data_id, column_type, "0_rolling_mean", cfg
      )
      verify_builder(builder, lambda col: col.isnull().sum() == 0)
  
      cfg = {
          "col": "0",
          "comp": "mean",
          "window": "5",
          "min_periods": 1,
          "on": "date",
          "center": True,
      }
      builder = ColumnBuilder(
          data_id, column_type, "0_rolling_mean", cfg
      )
      verify_builder(builder, lambda col: col.isnull().sum() == 0)
  
imports: import numpy
  import pandas
  import pytest
  import sklearn
  from numpy.random import randn
  from pkg_resources import parse_version
  from six import PY3
  import dtale.pandas_util
  from dtale.column_builders import ColumnBuilder, ZERO_STD_ERROR
  from tests.dtale import build_data_inst
label_desc: Use image node_id 16 for calling a global function with example usage: test_rolling(rolling_data) without return types