[Numpy-discussion] matmul as a ufunc

Andras Deak deak.andris at gmail.com
Tue May 29 06:51:09 EDT 2018


On Tue, May 29, 2018 at 12:16 PM, Daπid <davidmenhur at 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`.


More information about the NumPy-Discussion mailing list