Skip to content

Commit 074e846

Browse files
committed
add same value count for skew & kurt
1 parent cbbb771 commit 074e846

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/window/test_rolling_skew_kurt.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@ def test_rolling_kurt_edge_cases(step):
221221

222222

223223
def test_rolling_skew_eq_value_fperr(step):
224-
# #18804 all rolling skew for all equal values should return Nan
224+
# 46717
225225
a = Series([1.1] * 15).rolling(window=10, step=step).skew()
226226
assert (a[a.index >= 9] == 0).all()
227227
assert a[a.index < 9].isna().all()
228228

229229

230230
def test_rolling_kurt_eq_value_fperr(step):
231-
# #18804 all rolling kurt for all equal values should return Nan
231+
# 46717
232232
a = Series([1.1] * 15).rolling(window=10, step=step).kurt()
233233
assert (a[a.index >= 9] == -3).all()
234234
assert a[a.index < 9].isna().all()

0 commit comments

Comments
 (0)