def _convert_tolerance(self, tolerance, target):
    tolerance = np.asarray(to_timedelta(tolerance).to_numpy())
    return super()._convert_tolerance(tolerance, target)
def _convert_tolerance(self, tolerance, target):
    tolerance = np.asarray(to_timedelta(tolerance).to_numpy())
    return super()._convert_tolerance(tolerance, target)