code: def test_cmov_window_na_min_periods(step, min_periods):
      pytest.importorskip("scipy")
      vals = Series(np.random.default_rng(2).standard_normal(10))
      vals[4] = np.nan
      vals[8] = np.nan
  
      xp = vals.rolling(
          5, min_periods=min_periods, center=True, step=step
      ).mean()
      rs = vals.rolling(
          5,
          win_type="boxcar",
          min_periods=min_periods,
          center=True,
          step=step,
      ).mean()
      tm.assert_series_equal(xp, rs)
  
imports: import numpy
  import pytest
  from pandas import DataFrame, Series, Timedelta, concat, date_range
  import pandas._testing
  from pandas.api.indexers import BaseIndexer
label_desc: Use image node_id 19 for calling a global function with example usage: test_cmov_window_na_min_periods(step, min_periods) without return types