File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1388,7 +1388,7 @@ cdef inline void _check_below_mincount(
1388
1388
uint8_t[:, ::1 ] result_mask,
1389
1389
Py_ssize_t ncounts,
1390
1390
Py_ssize_t K,
1391
- int64_t[:, ::1 ] nobs,
1391
+ const int64_t[:, ::1 ] nobs,
1392
1392
int64_t min_count,
1393
1393
mincount_t[:, ::1 ] resx,
1394
1394
) noexcept:
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import numpy as np
11
11
12
12
from numpy cimport (
13
13
import_array,
14
- ndarray,
15
14
uint8_t,
16
15
uint64_t,
17
16
)
@@ -23,7 +22,7 @@ from pandas._libs.util cimport is_nan
23
22
24
23
@ cython.boundscheck (False )
25
24
def hash_object_array (
26
- ndarray[ object] arr , str key , str encoding = " utf8"
25
+ object[: ] arr , str key , str encoding = " utf8"
27
26
) -> np.ndarray[np.uint64]:
28
27
"""
29
28
Parameters
You can’t perform that action at this time.
0 commit comments