Skip to content

Commit dbda864

Browse files
author
tp
committed
remove pd.running_*, pd.expanding_* and pd.ewm* and related code
1 parent cdebcf3 commit dbda864

File tree

7 files changed

+125
-1356
lines changed

7 files changed

+125
-1356
lines changed

doc/source/computation.rst

+1-8
Original file line numberDiff line numberDiff line change
@@ -200,19 +200,12 @@ Window Functions
200200

201201
.. currentmodule:: pandas.core.window
202202

203-
.. warning::
204-
205-
Prior to version 0.18.0, ``pd.rolling_*``, ``pd.expanding_*``, and ``pd.ewm*`` were module level
206-
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.
207-
208-
The deprecation warning will show the new syntax, see an example :ref:`here <whatsnew_0180.window_deprecations>`
209-
210203
For working with data, a number of windows functions are provided for
211204
computing common *window* or *rolling* statistics. Among these are count, sum,
212205
mean, median, correlation, variance, covariance, standard deviation, skewness,
213206
and kurtosis.
214207

215-
Starting in version 0.18.1, the ``rolling()`` and ``expanding()``
208+
The ``rolling()`` and ``expanding()``
216209
functions can be used directly from DataFrameGroupBy objects,
217210
see the :ref:`groupby docs <groupby.transform.window_resample>`.
218211

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)