Skip to content

Fixes mypy error when passing np.datetime64/timedelta64 input to pd.isna #550

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 1 commit into from
Feb 21, 2023

Conversation

nph
Copy link
Contributor

@nph nph commented Feb 21, 2023

  • Update IndexIterScalar to include np.datetime64 and np.timedelta64
  • Update test_isna to include tests for np.datetime64 and np.timedelta64

…64` (pandas-dev#549)

* Fixes mypy error when passing np.datetime64/timedelta64 input to pd.isna

* Update test_isna to include tests for np.datetime64/timedelta64
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @nph

@Dr-Irv Dr-Irv merged commit 300adaf into pandas-dev:main Feb 21, 2023
twoertwein pushed a commit to twoertwein/pandas-stubs that referenced this pull request Apr 1, 2023
…d.isna` (pandas-dev#550)

Update `IndexIterScalar` to include `np.datetime64` and `np.timedelta64` (pandas-dev#549)

* Fixes mypy error when passing np.datetime64/timedelta64 input to pd.isna

* Update test_isna to include tests for np.datetime64/timedelta64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mypy error when passing np.datetime64 or np.timedelta64 to pd.isna
2 participants