code: def test_split_n(any_string_dtype, method, n):
      s = Series(["a b", pd.NA, "b c"], dtype=any_string_dtype)
      expected = Series([["a", "b"], pd.NA, ["b", "c"]])
      result = getattr(s.str, method)(" ", n=n)
      expected = _convert_na_value(s, expected)
      tm.assert_series_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 7 for calling a global function with example usage: test_split_n(any_string_dtype, method, n) without return types