|
12 | 12 | 'rolling_sum', 'rolling_mean', 'rolling_std', 'rolling_cov',
|
13 | 13 | 'rolling_corr', 'rolling_var', 'rolling_skew', 'rolling_kurt',
|
14 | 14 | 'rolling_quantile', 'rolling_median', 'rolling_apply',
|
15 |
| - 'rolling_corr_pairwise', 'rolling_window', |
| 15 | + 'rolling_window', |
16 | 16 | 'ewma', 'ewmvar', 'ewmstd', 'ewmvol', 'ewmcorr', 'ewmcov',
|
17 | 17 | 'expanding_count', 'expanding_max', 'expanding_min',
|
18 | 18 | 'expanding_sum', 'expanding_mean', 'expanding_std',
|
19 | 19 | 'expanding_cov', 'expanding_corr', 'expanding_var',
|
20 | 20 | 'expanding_skew', 'expanding_kurt', 'expanding_quantile',
|
21 |
| - 'expanding_median', 'expanding_apply', 'expanding_corr_pairwise'] |
| 21 | + 'expanding_median', 'expanding_apply' ] |
22 | 22 |
|
23 | 23 | #------------------------------------------------------------------------------
|
24 | 24 | # Docs
|
@@ -272,20 +272,6 @@ def rolling_corr(arg1, arg2=None, window=None, pairwise=None, **kwargs):
|
272 | 272 | func_kw=['other','pairwise'],
|
273 | 273 | **kwargs)
|
274 | 274 |
|
275 |
| -@Substitution("Deprecated. Use rolling_corr(..., pairwise=True) instead.\n\n" |
276 |
| - "Pairwise moving sample correlation", _pairwise_arg, |
277 |
| - _roll_kw%'None', _pairwise_retval, _roll_notes) |
278 |
| -@Appender(_doc_template) |
279 |
| -def rolling_corr_pairwise(df1, df2=None, window=None, min_periods=None, |
280 |
| - freq=None, center=False): |
281 |
| - import warnings |
282 |
| - msg = "rolling_corr_pairwise is deprecated, use rolling_corr(..., pairwise=True)" |
283 |
| - warnings.warn(msg, FutureWarning, stacklevel=2) |
284 |
| - return rolling_corr(df1, df2, window=window, min_periods=min_periods, |
285 |
| - freq=freq, center=center, |
286 |
| - pairwise=True) |
287 |
| - |
288 |
| - |
289 | 275 |
|
290 | 276 | #------------------------------------------------------------------------------
|
291 | 277 | # Exponential moving moments
|
@@ -744,18 +730,6 @@ def expanding_corr(arg1, arg2=None, min_periods=1, freq=None, pairwise=None):
|
744 | 730 | freq=freq,
|
745 | 731 | func_kw=['other','pairwise','ddof'])
|
746 | 732 |
|
747 |
| -@Substitution("Deprecated. Use expanding_corr(..., pairwise=True) instead.\n\n" |
748 |
| - "Pairwise expanding sample correlation", _pairwise_arg, |
749 |
| - _expanding_kw, _pairwise_retval, "") |
750 |
| -@Appender(_doc_template) |
751 |
| -def expanding_corr_pairwise(df1, df2=None, min_periods=1, freq=None): |
752 |
| - import warnings |
753 |
| - msg = "expanding_corr_pairwise is deprecated, use expanding_corr(..., pairwise=True)" |
754 |
| - warnings.warn(msg, FutureWarning, stacklevel=2) |
755 |
| - return expanding_corr(df1, df2, min_periods=min_periods, |
756 |
| - freq=freq, pairwise=True) |
757 |
| - |
758 |
| - |
759 | 733 | def expanding_apply(arg, func, min_periods=1, freq=None,
|
760 | 734 | args=(), kwargs={}):
|
761 | 735 | """Generic expanding function application.
|
|
0 commit comments