pandas.Series.str.rstrip
-
Series.str.rstrip(to_strip=None)[source] -
Удаляет пробелы (включая новые строки) с правого края каждой строки в Series/Индексе. Эквивалентно
str.rstrip().Возвращает: обрезанные : Series/Индекс объектов
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.19.2/generated/pandas.Series.str.rstrip.html