(self, y, X=None)
return y[1:]
Resample `y`.

        Parameters
        ----------
        y : ndarray of shape (n_samples,)
            Target.

        X : None
            There is no need for input data, yet the pipeline API requires this
            parameter.

        Returns
        -------
        yr : ndarray of shape (n_samples_new,)
            Resampled target. ``n_samples_new = n_samples - 1``.
Resample `y`.
Resample y .
def resample(self, y, X=None):
        """Resample `y`.

        Parameters
        ----------
        y : ndarray of shape (n_samples,)
            Target.

        X : None
            There is no need for input data, yet the pipeline API requires this
            parameter.

        Returns
        -------
        yr : ndarray of shape (n_samples_new,)
            Resampled target. ``n_samples_new = n_samples - 1``.

        """
        check_is_fitted(self, '_is_fitted')
        y = column_or_1d(y)

        return y[1:]
def resample ( self , y , X = None ) : check_is_fitted ( self , '_is_fitted' ) y = column_or_1d ( y ) return y [ 1 : ]