pyarrow.compute.ascii_split_whitespace¶
-
pyarrow.compute.
ascii_split_whitespace
(strings, *, memory_pool=None, options=None, max_splits=- 1, reverse=False)¶ Split string according to any ASCII whitespace.
Split each string according any non-zero length sequence of ASCII whitespace characters. The output for each string input is a list of strings.
The maximum number of splits and direction of splitting (forward, reverse) can optionally be defined in SplitOptions.
- Parameters
strings (Array-like or scalar-like) – Argument to compute function
memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.
options (pyarrow.compute.SplitOptions, optional) – Parameters altering compute function semantics.
max_splits (optional) – Parameter for SplitOptions constructor. Either options or max_splits can be passed, but not both at the same time.
reverse (optional) – Parameter for SplitOptions constructor. Either options or reverse can be passed, but not both at the same time.