code: def test_rolling_partition_size():
      df = pd.DataFrame(np.random.randn(50, 2))
      ddf = dd.from_pandas(df, npartitions=5)
  
      for obj, dobj in [(df, ddf), (df[0], ddf[0])]:
          assert_eq(obj.rolling(10).mean(), dobj.rolling(10).mean())
          assert_eq(obj.rolling(11).mean(), dobj.rolling(11).mean())
          with pytest.raises(NotImplementedError):
              dobj.rolling(12).mean().compute()
  
imports: from __future__ import annotations
  import contextlib
  import datetime
  import numpy
  import pandas
  import pytest
  import dask.dataframe
  from dask.dataframe._compat import PANDAS_GE_210
  from dask.dataframe.utils import assert_eq
label_desc: Use image node_id 13 for calling a global function with example usage: test_rolling_partition_size() without return types