def METHOD_NAME(self, X, y=None):
    """Inverse transform X and return an inverse transformed version.
    core logic
    Parameters
    ----------
    X : pd.Series or pd.DataFrame or 1D/2D np.ndarray
        Data to be transformed
    y : ignored argument for interface compatibility
        Additional data, e.g., labels for transformation
    Returns
    -------
    Xt : pd.Series or pd.DataFrame or 1D/2D np.ndarray, same type as X
        inverse transformed version of X
    """
    Xt = self._apply_function(X, func=self.inverse_func, kw_args=self.inv_kw_args)
    return Xt