pandas.Series.str.endswith
-
Series.str.
endswith
(pat, na=nan) Return boolean Series indicating whether each string in the Series/Index ends with passed pattern. Equivalent to
str.endswith()
.Parameters: pat : string
Character sequence
na : bool, default NaN
Returns: endswith : Series/array of boolean values