pandas.Series.str.startswith
-
Series.str.startswith(pat, na=nan)[source] -
Возвращает булевый Series/
arrayуказывающий, начинается ли каждая строка в Series/Индексе с переданного шаблона. Эквивалентноstr.startswith().Параметры: pat : строка
Последовательность символов
na : bool, по умолчанию NaN
Возвращает: startswith : 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.startswith.html