polars.internals.series.string.StringNameSpace.rstrip#

StringNameSpace.rstrip(matches: None | str = None) Series[source]#

Remove trailing whitespace.

Parameters:
matches

An optional single character that should be trimmed