DOC/DEP: Document and/or deprecate `uint0` and `int0`
See original GitHub issueHi.
The page at https://numpy.org/devdocs/user/basics.types.html does not include a valid data type in numpy, that is, int0. Request to edit the datatype into the doc.
<------ reproducing code example ------>
>>> import numpy as np
>>> np.int0 is np.int64
True
>>> np.__version__
'1.81.1'
>>> exit()
After exiting
[user@linux~]$ python --version Python 3.8.1
The code example is provided thanks to user ‘Right leg’ from here, https://stackoverflow.com/questions/48350693/what-is-numpy-method-int0 .
Thank you.
EDIT by seberg: In gh-11025 Robert notes that “In Numeric, Int0 is indeed equivalent to Int8” if this is documented, we have to make sure to be correct as to whether this is an alias to intp or to int8.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We should probably focus on writing the NEP for #14901 before we try and deprecate anything else like it.
@eric-wieser alright, I’ll keep this issue open till then.