What is the use of the data type intp in numpy?

蹲街弑〆低调 提交于 2021-01-29 07:08:45

问题


I've seen the data types in the numpy package of the python, but I found the description of the data type intp a bit confusing, its description is like:

  • intp: Integer used for indexing (same as C ssize_t; normally either int32 or int64)

My question is why the word indexing is used here if it is same as the ssize_t of C, as ssize_t is use to store the size of a variable?

来源:https://stackoverflow.com/questions/63584359/what-is-the-use-of-the-data-type-intp-in-numpy

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!