code: def test_weighted_var_big_window_no_segfault(win_types, center):
      # GitHub Issue #46772
      pytest.importorskip("scipy")
      x = Series(0)
      result = x.rolling(
          window=16, center=center, win_type=win_types
      ).var()
      expected = Series(np.nan)
  
      tm.assert_series_equal(result, expected)
  
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 25 for calling a global function with example usage: test_weighted_var_big_window_no_segfault(win_types, center) without return types