Test if elements end with pat.

        Parameters
        ----------
        pat : str

        Returns
        -------
        Series

def endswith(self, pat):
        """Test if elements end with pat.

        Parameters
        ----------
        pat : str

        Returns
        -------
        Series

        """
        check_type(pat, str)

        return _series_bool_result(self, weld_str_endswith, pat=pat)