[Numpy-discussion] different values for ndarray when printed with or without [ ]

Nissim Derdiger NissimD at elspec-ltd.com
Wed Oct 18 06:44:22 EDT 2017

Hi all,
I have a ndarray, that shows different values when called like that: print(arr) or like that print(arr[0::]).
When changing it back to a python string (with list = arr.tolist()) - both prints return same value, but when converting that list back to np array (arr=np.array(list)) - the printing issue returns.
Any ideas what may cause that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20171018/7f206b66/attachment.html>

More information about the NumPy-Discussion mailing list