'Elementwise endswith.
Parameters
suffix : str
Returns
matches : np.ndarray[bool]
An array with the same shape as self indicating whether each
element of self ended with ``suffix``'

def endswith(self, suffix):

    return self.map_predicate((lambda elem: elem.endswith(suffix)))
