maxframe.liteframe.LiteFrame.str.slice#
- LiteFrame.str.slice(start=None, stop=None, step=None)#
Slice substrings from each element in the Series or Index.
Slicing substrings from strings in a Series or Index helps extract specific portions of data, making it easier to analyze or manipulate text. This is useful for tasks like parsing structured text fields or isolating parts of strings with a consistent format.
- Parameters:
- Returns:
Series or Index from sliced substring from original string object.
- Return type:
See also
LiteFrame.str.slice_replaceReplace a slice with a string.
LiteFrame.str.getReturn element at position. Equivalent to LiteFrame.str.slice(start=i, stop=i+1) with i being the position.