statsmodels.tsa.api.detrend =========================== .. currentmodule:: statsmodels.tsa.api .. autofunction:: detrend