Skip to content

Commit 3e60bbd

Browse files
author
tp
committed
remove pd.running_*, pd.expanding_* and pd.ewm* and related code
1 parent 8347ff8 commit 3e60bbd

File tree

7 files changed

+126
-1364
lines changed

7 files changed

+126
-1364
lines changed

doc/source/computation.rst

+2-9
Original file line numberDiff line numberDiff line change
@@ -209,19 +209,12 @@ Window Functions
209209

210210
.. currentmodule:: pandas.core.window
211211

212-
.. warning::
213-
214-
Prior to version 0.18.0, ``pd.rolling_*``, ``pd.expanding_*``, and ``pd.ewm*`` were module level
215-
functions and are now deprecated. These are replaced by using the :class:`~pandas.core.window.Rolling`, :class:`~pandas.core.window.Expanding` and :class:`~pandas.core.window.EWM`. objects and a corresponding method call.
216-
217-
The deprecation warning will show the new syntax, see an example :ref:`here <whatsnew_0180.window_deprecations>`.
218-
219-
For working with data, a number of windows functions are provided for
212+
For working with data, a number of window functions are provided for
220213
computing common *window* or *rolling* statistics. Among these are count, sum,
221214
mean, median, correlation, variance, covariance, standard deviation, skewness,
222215
and kurtosis.
223216

224-
Starting in version 0.18.1, the ``rolling()`` and ``expanding()``
217+
The ``rolling()`` and ``expanding()``
225218
functions can be used directly from DataFrameGroupBy objects,
226219
see the :ref:`groupby docs <groupby.transform.window_resample>`.
227220

pandas/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141

4242
from pandas.core.api import *
4343
from pandas.core.sparse.api import *
44-
from pandas.stats.api import *
4544
from pandas.tseries.api import *
4645
from pandas.core.computation.api import *
4746
from pandas.core.reshape.api import *

pandas/stats/__init__.py

Whitespace-only changes.

pandas/stats/api.py

-7
This file was deleted.

0 commit comments

Comments
 (0)