class_docstr: Accessor object for string properties of the Series values.
  
  Examples
  --------
  
  >>> s.str.lower()  # doctest: +SKIP
class_docstr_tok: ["Accessor","object","for","string","properties","of","the","Series","values",".","Examples","--","--","--","--",">",">",">","s.str.lower","(",")","#","doctest",":","+SKIP"]
code: def _split(self, method, pat=None, n=-1, expand=False):
      if expand:
          if n == -1:
              raise NotImplementedError(
                  "To use the expand parameter you must specify the number of "
                  "expected splits with the n= parameter. Usually n splits "
                  "result in n+1 output columns."
              )
          else:
              delimiter = " " if pat is None else pat
              meta = self._series._meta._constructor(
                  [delimiter.join(["a"] * (n + 1))],
                  index=self._series._meta_nonempty.iloc[:1].index,
              )
              meta = getattr(meta.str, method)(
                  n=n, expand=expand, pat=pat
              )
      else:
          meta = (self._series.name, object)
      return self._function_map(
          method, pat=pat, n=n, expand=expand, meta=meta
      )
  
imports: from __future__ import annotations
  import warnings
  import numpy
  import pandas
  from dask.dataframe._compat import check_to_pydatetime_deprecation
  from dask.utils import derived_from
label_desc: Use image node_id 1 for calling the StringAccessor obj's underlying member method code with example usage: obj._split(method, pat, n, expand) and returns: self