Datatypes
Following are the available datatypes in numpy.
int32
,int64
,uint32
,uint64
float64
(default)complex128
bool
- strings are typed by taking the maximum length string in the array.
f = np.array(["abc", "ab", "a"])
f.dtype
# dtype('<U3')
So, dtype
says string type with 3 max characters.