I have this code:
>>> d = np.dtype([("pos", np.float64, 3)])
>>> d[0].kind
'V'
Why does it return 'V'
instead of 'f'
? In the full code, I need to know if the field corresponds to an integer, float, string…
I have this code:
>>> d = np.dtype([("pos", np.float64, 3)])
>>> d[0].kind
'V'
Why does it return 'V'
instead of 'f'
? In the full code, I need to know if the field corresponds to an integer, float, string…