On Tue, May 29, 2018 at 12:16 PM, Daπid <davidmen...@gmail.com> wrote:
> Right now, np.int(8).T throws an error, but np.transpose(np.int(8)) gives a
> 0-d array. On one hand, it is nice to be able to use the same code for

`np.int` is just python `int`! What you mean is `np.int64(8).T` which
works fine, so does `np.array(8).T`.
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to