polars.Expr.str.rstrip#

Expr.str.rstrip(characters: str | None = None) Expr[source]#

Remove trailing characters.

Deprecated since version 0.19.3: This method has been renamed to strip_chars_end().

Parameters:
characters

The set of characters to be removed. All combinations of this set of characters will be stripped. If set to None (default), all whitespace is removed instead.