e using supplied function. Designed to be
        used with passed-in Cython array-based functions.

        Parameters
        ----------
        func : string/callable to apply
        how : string, default to None
            .. deprecated:: 0.18.0
               how to resample

        Returns
        -------
        y : type of input argument

        )