Skip to content

Apply NPY_DT_NUMERIC flag where appropriate #43

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
Mar 2, 2023

Conversation

ngoldbaum
Copy link
Member

This adds support for the new _is_numeric attribute, in anticipation of further testing with pandas using the dtypes in this repo.

There are some formatting changes to appease the pre-commit hooks, those shouldn't have functional changes. I also needed to fix how the black pre-commit hook is set up to work around psf/black#2863, otherwise black and ruff will get into a fight.

Unfortunately due to an oversight on my part this PR depends on numpy/numpy#23306 being merged before this can be merged.

@seberg seberg closed this Mar 2, 2023
@seberg seberg reopened this Mar 2, 2023
@seberg seberg merged commit b15e80a into numpy:main Mar 2, 2023
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.

2 participants