Hi Nissim, While a working example will be helpful, I just wanted to confirm that you're not assigning a value to `list`, as you did in your message (e.g., ` list = arr.tolist()`).
Because if that's the case, then you may run into issues, as `list` is a built-in Python keyword (for the `list` class). Cheers, -- Nicholas Nadeau, P.Eng., AVS On 18 October 2017 at 06:44, Nissim Derdiger <niss...@elspec-ltd.com> wrote: > 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? > > Thanks, > > Nissim. > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion