Skip to content

Commit 0c3db7f

Browse files
committed
Stricter type for mask params in _make_cum_function
1 parent e2cfb94 commit 0c3db7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11076,8 +11076,8 @@ def _make_cum_function(
1107611076
desc: str,
1107711077
accum_func: Callable,
1107811078
accum_func_name: str,
11079-
mask_a: Union[float, np.floating],
11080-
mask_b: Union[float, np.floating],
11079+
mask_a: float,
11080+
mask_b: float,
1108111081
examples: str,
1108211082
) -> Callable:
1108311083
@Substitution(

0 commit comments

Comments
 (0)