pyarrow.compute.utf8_split_whitespace¶
-
pyarrow.compute.
utf8_split_whitespace
(strings, *, memory_pool=None, options=None, max_splits=- 1, reverse=False)¶ Split string according to any Unicode whitespace.
Split each string according any non-zero length sequence of Unicode 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
**kwargs (optional) – Parameters for SplitOptions constructor. Either options or **kwargs can be passed, but not both at the same time.