14
14
from pandas .core ._numba .kernels .shared import is_monotonic_increasing
15
15
16
16
17
- # error: Untyped decorator makes function "add_mean" untyped
18
- @numba .jit (nopython = True , nogil = True , parallel = False ) # type: ignore[misc]
17
+ @numba .jit (nopython = True , nogil = True , parallel = False )
19
18
def add_mean (
20
19
val : float , nobs : int , sum_x : float , neg_ct : int , compensation : float
21
20
) -> tuple [int , float , int , float ]:
@@ -30,8 +29,7 @@ def add_mean(
30
29
return nobs , sum_x , neg_ct , compensation
31
30
32
31
33
- # error: Untyped decorator makes function "remove_mean" untyped
34
- @numba .jit (nopython = True , nogil = True , parallel = False ) # type: ignore[misc]
32
+ @numba .jit (nopython = True , nogil = True , parallel = False )
35
33
def remove_mean (
36
34
val : float , nobs : int , sum_x : float , neg_ct : int , compensation : float
37
35
) -> tuple [int , float , int , float ]:
@@ -46,8 +44,7 @@ def remove_mean(
46
44
return nobs , sum_x , neg_ct , compensation
47
45
48
46
49
- # error: Untyped decorator makes function "sliding_mean" untyped
50
- @numba .jit (nopython = True , nogil = True , parallel = False ) # type: ignore[misc]
47
+ @numba .jit (nopython = True , nogil = True , parallel = False )
51
48
def sliding_mean (
52
49
values : np .ndarray ,
53
50
start : np .ndarray ,
0 commit comments