Saving this as note-to-self; The Numpy documentation is thorough but unfriendly for rapid scanning. Here's a cheat-sheet for Linux x86-64.
- (
BHIL
)bhil
:(u)int-8,16,32,64
efdg
:float-16,32,64,80
FDG
:complex 2×(32,64,80)
?
: BooleanS#
/U#
: Length-#
byte/Unicode strings- On Intel x86-64 the signed/unsigned pointer-length types
intp
p
/uintp
P
areint64
/uint64
, as arelonglong
q
/ulonglong
Q
. - All types are little-endian
<
by default (prefix>
to specify big-endian) - Types can be suffixed by an integer to specify vector-types