code: def test_series():
      return Series(
          np.random.default_rng(2).standard_normal(1000),
          index=date_range("1/1/2000", periods=1000),
      )
  
imports: from datetime import datetime
  from operator import methodcaller
  import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, Series, Timestamp
  import pandas._testing
  from pandas.core.groupby.grouper import Grouper
  from pandas.core.indexes.datetimes import date_range
label_desc: Use image node_id 1 for calling a global function with example usage: test_series() and returns: Series