We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tol
1 parent 2a8e1f8 commit 303465aCopy full SHA for 303465a
pandas/core/nanops.py
@@ -1608,7 +1608,7 @@ def check_below_min_count(
1608
return False
1609
1610
1611
-def _zero_out_fperr(arg, tol):
+def _zero_out_fperr(arg, tol: float | np.ndarray):
1612
# #18044 reference this behavior to fix rolling skew/kurt issue
1613
if isinstance(arg, np.ndarray):
1614
return np.where(np.abs(arg) < tol, 0, arg)
0 commit comments