code: def test_periods_equal_pandas(freq):
      if freq != "S" and freq.endswith("S"):
          pytest.skip()
  
      pr = pd.period_range(start="2020", freq=freq, periods=20)
      ps = zb.periods("2020", freq, 20)
  
      np.testing.assert_array_equal(pr, ps.to_pandas())
  
      freq = "7" + freq
      pr = pd.period_range(start="2020", freq=freq, periods=20)
      ps = zb.periods("2020", freq, 20)
  
      np.testing.assert_array_equal(pr, ps.to_pandas())
  
file_path: gluonts/test/zebras/test_period.py
imports: import pytest
  import numpy
  import pandas
  from pandas.tseries.frequencies import to_offset
  from gluonts.core import serde
  import gluonts.zebras
label_desc: Use image node_id 5 for calling a global function with example usage: test_periods_equal_pandas(freq) without return types