Back to Numerical Arrays (NumPy)
np.rpartition
Partition each element around the last occurrence of sep.
Syntax
np.rpartition(a, sep)
Description
Partition each element around the last occurrence of sep.
Parameters
| Name | Description |
|---|---|
| a | - Input string array |
| sep | - Separator string |
Returns
NDArray