[Numpy-discussion] Should the numpy complex print the same way as python complex numbers?

Charles R Harris charlesr.harris@gmail....
Fri Jul 4 14:48:19 CDT 2008

Currently they print differently:

In [6]: str(np.complex128(0))
Out[6]: '(0.0+0.0j)'

In [7]: str(complex(0))
Out[7]: '0j'

It looks pretty easy to make numpy complex print the same as python complex.
Shall we make that change?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080704/2d7878ac/attachment.html 

More information about the Numpy-discussion mailing list