Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.Series.str.endswith

Series.str.endswith(pat, na=nan)[source]

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

Scroll To Top