code: def test_partition_with_name(any_string_dtype):
      # GH 12617
  
      s = Series(["a,b", "c,d"], name="xxx", dtype=any_string_dtype)
      result = s.str.partition(",")
      expected = DataFrame(
          {0: ["a", "c"], 1: [",", ","], 2: ["b", "d"]},
          dtype=any_string_dtype,
      )
      tm.assert_frame_equal(result, expected)
  
imports: from datetime import datetime
  import re
  import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, MultiIndex, Series, _testing
  from pandas.tests.strings import _convert_na_value, object_pyarrow_numpy
label_desc: Use image node_id 39 for calling a global function with example usage: test_partition_with_name(any_string_dtype) without return types