pandas.Series.str.endswith

Series.str.endswith(pat, na=nan)

Return boolean array indicating whether each string ends with passed pattern

Parameters:

pat : string

Character sequence

na : bool, default NaN

Returns:

endswith : array (boolean)