You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/computation.rst
+11-4
Original file line number
Diff line number
Diff line change
@@ -201,10 +201,12 @@ parameter:
201
201
Window Functions
202
202
----------------
203
203
204
+
.. currentmodule:: pandas.core.window
205
+
204
206
.. warning::
205
207
206
208
Prior to version 0.18.0, ``pd.rolling_*``, ``pd.expanding_*``, and ``pd.ewm*`` were module level
207
-
functions and are now deprecated and replaced by the corresponding method call.
209
+
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.
208
210
209
211
The deprecation warning will show the new syntax, see an example :ref:`here <whatsnew_0180.window_deprecations>`
210
212
You can view the previous documentation
@@ -215,8 +217,6 @@ computing common *window* or *rolling* statistics. Among these are count, sum,
215
217
mean, median, correlation, variance, covariance, standard deviation, skewness,
216
218
and kurtosis.
217
219
218
-
.. currentmodule:: pandas.core.window
219
-
220
220
.. note::
221
221
222
222
The API for window statistics is quite similar to the way one works with ``GroupBy`` objects, see the documentation :ref:`here <groupby>`
@@ -237,6 +237,14 @@ These are created from methods on ``Series`` and ``DataFrame``.
237
237
r = s.rolling(window=60)
238
238
r
239
239
240
+
These object provide tab-completion of the avaible methods and properties.
0 commit comments