We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbbb771 commit 074e846Copy full SHA for 074e846
pandas/tests/window/test_rolling_skew_kurt.py
@@ -221,14 +221,14 @@ def test_rolling_kurt_edge_cases(step):
221
222
223
def test_rolling_skew_eq_value_fperr(step):
224
- # #18804 all rolling skew for all equal values should return Nan
+ # 46717
225
a = Series([1.1] * 15).rolling(window=10, step=step).skew()
226
assert (a[a.index >= 9] == 0).all()
227
assert a[a.index < 9].isna().all()
228
229
230
def test_rolling_kurt_eq_value_fperr(step):
231
- # #18804 all rolling kurt for all equal values should return Nan
232
a = Series([1.1] * 15).rolling(window=10, step=step).kurt()
233
assert (a[a.index >= 9] == -3).all()
234
0 commit comments