MCPcopy
hub / github.com/dask/dask / split

Method split

dask/dataframe/dask_expr/_str_accessor.py:99–101  ·  view source on GitHub ↗

Known inconsistencies: ``expand=True`` with unknown ``n`` will raise a ``NotImplementedError``.

(self, pat=None, n=-1, expand=False)

Source from the content-addressed store, hash-verified

97 return self._function_map(method, pat=pat, n=n, expand=expand)
98
99 def split(self, pat=None, n=-1, expand=False):
100 """Known inconsistencies: ``expand=True`` with unknown ``n`` will raise a ``NotImplementedError``."""
101 return self._split("split", pat=pat, n=n, expand=expand)
102
103 def rsplit(self, pat=None, n=-1, expand=False):
104 return self._split("rsplit", pat=pat, n=n, expand=expand)

Callers 15

__init__Method · 0.80
getFunction · 0.80
popFunction · 0.80
config_getFunction · 0.80
skip_doctestFunction · 0.80
extra_titlesFunction · 0.80
unsupported_argumentsFunction · 0.80
wrapperFunction · 0.80
typenameFunction · 0.80
natural_sort_keyFunction · 0.80
key_splitFunction · 0.80

Calls 1

_splitMethod · 0.95

Tested by 15

test_read_bytes_blockFunction · 0.64
s3_baseFunction · 0.64
test_read_bytes_blockFunction · 0.64
test_parquetFunction · 0.64
test_parquet_appendFunction · 0.64
test_string_namespaceFunction · 0.64
test_str_empty_splitFunction · 0.64
test_io_fusion_blockwiseFunction · 0.64