maxframe.liteframe.LiteFrame.str.removeprefix#

LiteFrame.str.removeprefix(prefix: str)#

Remove a prefix from an object series.

If the prefix is not present, the original string will be returned.

Parameters:

prefix (str) – Remove the prefix of the string.

Returns:

Series/Index – The Series or Index with given prefix removed.

Return type:

object

See also

LiteFrame.str.removesuffix

Remove a suffix from an object series.