pandas.Series.str.rstrip — pandas 0.18.1 documentation (original) (raw)

Series.str.rstrip(to_strip=None)

Strip whitespace (including newlines) from each string in the Series/Index from right side. Equivalent to str.rstrip().

Returns: stripped : Series/Index of objects