isbuiltin
Value identifying if numpy dtype is a numpy builtin type
Read-only
Returns: | val : {0,1,2}
|
---|
Examples
>>> dt = np.dtype('i2')
>>> dt.isbuiltin
1
>>> dt = np.dtype('f8')
>>> dt.isbuiltin
1
>>> dt = np.dtype([('field1', 'f8')])
>>> dt.isbuiltin
0