2222 ["var" , np .float64 (0.5 )],
2323 ["std" , np .float64 (0.5 ** 0.5 )],
2424 ["skew" , pd .NA ],
25+ ["kurt" , pd .NA ],
2526 ["any" , True ],
2627 ["all" , True ],
2728 ],
@@ -44,6 +45,7 @@ def test_series_reductions(op, expected):
4445 ["var" , Series ([0.5 ], index = ["a" ], dtype = "Float64" )],
4546 ["std" , Series ([0.5 ** 0.5 ], index = ["a" ], dtype = "Float64" )],
4647 ["skew" , Series ([pd .NA ], index = ["a" ], dtype = "Float64" )],
48+ ["kurt" , Series ([pd .NA ], index = ["a" ], dtype = "Float64" )],
4749 ["any" , Series ([True ], index = ["a" ], dtype = "boolean" )],
4850 ["all" , Series ([True ], index = ["a" ], dtype = "boolean" )],
4951 ],
@@ -95,6 +97,7 @@ def test_groupby_reductions(op, expected):
9597 ["var" , Series ([2 , 2 ], index = ["B" , "C" ], dtype = "Float64" )],
9698 ["std" , Series ([2 ** 0.5 , 2 ** 0.5 ], index = ["B" , "C" ], dtype = "Float64" )],
9799 ["skew" , Series ([pd .NA , pd .NA ], index = ["B" , "C" ], dtype = "Float64" )],
100+ ["kurt" , Series ([pd .NA , pd .NA ], index = ["B" , "C" ], dtype = "Float64" )],
98101 ["any" , Series ([True , True , True ], index = ["A" , "B" , "C" ], dtype = "boolean" )],
99102 ["all" , Series ([True , True , True ], index = ["A" , "B" , "C" ], dtype = "boolean" )],
100103 ],
0 commit comments