code: def test_period_equal_pandas(freq):
      if freq != "S" and freq.endswith("S"):
          pytest.skip()
  
      pd_period = pd.Period("2020", freq=freq)
      zb_period = zb.period("2020", freq)
  
      assert pd_period == zb_period.to_pandas()
      assert pd_period + 9 == (zb_period + 9).to_pandas()
  
      freq = "7" + freq
      pd_period = pd.Period("2020", freq=freq)
      zb_period = zb.period("2020", freq)
  
      assert pd_period == zb_period.to_pandas()
      assert pd_period + 9 == (zb_period + 9).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 3 for calling a global function with example usage: test_period_equal_pandas(freq) without return types