NumPy underscore types: int_, float_, etc.

What is the meaning of the underscore suffix, int_, float_, etc.?

+5
source share
1 answer

From page 21 of TE Oliphant 's Numpy Guide :

Data type names that collide with a standard Python object are followed by underscores. These data types are so-called because they use the same underlying corresponding Python data types.

.,.

bool_, int_, complex_, float_, object_, unicode_ str_ . Python ( ) ( bool_ object_). Python . , , , Python.

+6

All Articles