Skip to content

Conversation

@kashifkhan
Copy link
Contributor

xref #37715

The error was about the lines that set result = -1, which changed the type of result from np.ndarray to int. Changed it to return -1 from the if block since everywhere else its dealing with an np.ndarray

@phofl phofl added the Typing type annotations, mypy/pyright type checking label Dec 20, 2021
@phofl
Copy link
Member

phofl commented Dec 21, 2021

Could you merge master? We have fixed the ci now

@jreback jreback added this to the 1.4 milestone Dec 22, 2021
@jreback jreback merged commit 9098d14 into pandas-dev:master Dec 22, 2021
@jreback
Copy link
Contributor

jreback commented Dec 22, 2021

thanks @kashifkhan

@kashifkhan kashifkhan deleted the fix_type_err_nanops.py branch December 22, 2021 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Typing type annotations, mypy/pyright type checking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants