code: def test_series(dates):
      """Test output for pandas Series"""
      arr = pd.Series(["2011-01-31"])
      expected = dates.select_rows(arr)
      actual = dates.loc[arr]
      assert_frame_equal(expected, actual, check_freq=False)
  
imports: import datetime
  import re
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 31 for calling a global function with example usage: test_series(dates) without return types