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