Skip to content

Commit f5f0fed

Browse files
committed
fix: pass memview to roll_skew
1 parent 7f2a748 commit f5f0fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/window/aggregations.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ cdef void remove_skew(float64_t val, int64_t *nobs,
605605
mean[0] -= delta_n
606606

607607

608-
def roll_skew(ndarray[float64_t] values, ndarray[int64_t] start,
608+
def roll_skew(const float64_t[:] values, ndarray[int64_t] start,
609609
ndarray[int64_t] end, int64_t minp) -> np.ndarray:
610610
cdef:
611611
Py_ssize_t i, j

0 commit comments

Comments
 (0)