pandas.Series.str.strip
-
Series.str.strip(to_strip=None)[source] -
Удаляет пробельные символы (включая символы новой строки) с каждой строки в Series/Index слева и справа. Эквивалентно
str.strip().Возвращает: stripped : Series/Index объектов
© 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.21.1/generated/pandas.Series.str.strip.html