maxframe.liteframe.LiteFrame.str.rpartition#
- LiteFrame.str.rpartition(sep: str = ' ', expand: bool = True)#
Split the string at the last occurrence of sep.
This method splits the string at the last occurrence of sep, and returns 3 elements containing the part before the separator, the separator itself, and the part after the separator. If the separator is not found, return 3 elements containing two empty strings, followed by the string itself.
- Parameters:
- Returns:
Returns appropriate type based on expand parameter with strings split based on the sep parameter.
- Return type:
DataFrame/MultiIndex or Series/Index of objects
See also
partitionSplit the string at the first occurrence of sep.
LiteFrame.str.splitSplit strings around given separators.
str.partitionStandard library version.