polars.Series.str.rstrip#
- Series.str.rstrip(characters: str | None = None) Series [source]#
Remove trailing characters.
Deprecated since version 0.19.3: This method has been renamed to
Series.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.