code: def test_reductions_series_strings(operation, expected):
      # GH#31746
      ser = Series(["a", "b"], dtype="string")
      res_operation_serie = getattr(ser, operation)()
      assert res_operation_serie == expected
  
file_path: pandas/pandas/tests/series/test_reductions.py
imports: import numpy
  import pytest
  import pandas
  from pandas import Series
  import pandas._testing
label_desc: Use image node_id 1 for calling a global function with example usage: test_reductions_series_strings(operation, expected) without return types