Skip to content

CI: Fix npdev build post Cython annotation change #47670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 13, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test or typing
  • Loading branch information
mroeschke committed Jul 13, 2022
commit 0a61db7b1019605bedbf15f40044b1d6b32ac1cc
2 changes: 1 addition & 1 deletion pandas/_libs/arrays.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ cdef class NDArrayBacked:
return self._from_backing_data(res_values)

# TODO: pass NPY_MAXDIMS equiv to axis=None?
def repeat(self, repeats, axis = 0):
def repeat(self, repeats, axis: int | np.integer = 0):
if axis is None:
axis = 0
res_values = cnp.PyArray_Repeat(self._ndarray, repeats, <int>axis)
Expand Down