Hello,

Is the following behavior normal?

In [1]: import numpy as np

In [2]: np.dtype([('a','<f4',2)])
Out[2]: dtype([('a', '<f4', (2,))])

In [3]: np.dtype([('a','<f4',1)])
Out[3]: dtype([('a', '<f4')])

I.e. in the second case, the second dimension of the dtype (1) is
being ignored? Is there a way to avoid this?

Thanks,
Thomas
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to