maxframe.liteframe.LiteFrame.str.removesuffix#

LiteFrame.str.removesuffix(suffix: str)#

Remove a suffix from an object series.

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

Parameters:

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

Returns:

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

Return type:

object

See also

LiteFrame.str.removeprefix

Remove a prefix from an object series.