Skip to content

Commit 047da25

Browse files
MarcoGorelliphofl
andauthored
CI: fix numba typing (#53730)
* fix numba typing * type ignore --------- Co-authored-by: Patrick Hoefler <[email protected]>
1 parent bc4f149 commit 047da25

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pandas/core/_numba/kernels/mean_.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def sliding_mean(
101101
neg_ct,
102102
compensation_add,
103103
num_consecutive_same_value,
104-
prev_value,
104+
prev_value, # pyright: ignore[reportGeneralTypeIssues]
105105
)
106106
else:
107107
for j in range(start[i - 1], s):
@@ -126,7 +126,7 @@ def sliding_mean(
126126
neg_ct,
127127
compensation_add,
128128
num_consecutive_same_value,
129-
prev_value,
129+
prev_value, # pyright: ignore[reportGeneralTypeIssues]
130130
)
131131

132132
if nobs >= min_periods and nobs > 0:

pandas/core/_numba/kernels/var_.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def sliding_var(
111111
ssqdm_x,
112112
compensation_add,
113113
num_consecutive_same_value,
114-
prev_value,
114+
prev_value, # pyright: ignore[reportGeneralTypeIssues]
115115
)
116116
else:
117117
for j in range(start[i - 1], s):
@@ -136,7 +136,7 @@ def sliding_var(
136136
ssqdm_x,
137137
compensation_add,
138138
num_consecutive_same_value,
139-
prev_value,
139+
prev_value, # pyright: ignore[reportGeneralTypeIssues]
140140
)
141141

142142
if nobs >= min_periods and nobs > ddof:

0 commit comments

Comments
 (0)