Skip to content

Commit 160ae90

Browse files
Update lib.pyi maybe_indices_to_slice to use uint64
Updates maybe_indices_to_slice to use uint64 allowing massive dataframes to be manipulated (see pandas-dev#59531)
1 parent a7a1410 commit 160ae90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/lib.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def maybe_booleans_to_slice(
161161
) -> slice | npt.NDArray[np.uint8]: ...
162162
def maybe_indices_to_slice(
163163
indices: npt.NDArray[np.intp],
164-
max_len: int,
164+
max_len: np.unit64,
165165
) -> slice | npt.NDArray[np.intp]: ...
166166
def is_all_arraylike(obj: list) -> bool: ...
167167

0 commit comments

Comments
 (0)