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

2017-10-18 Thread Nicholas Nadeau
the `list` class). Cheers, -- Nicholas Nadeau, P.Eng., AVS On 18 October 2017 at 06:44, Nissim Derdiger 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 st

Re: [Numpy-discussion] List comprehension and loops performances with NumPy arrays

2017-10-07 Thread Nicholas Nadeau
g through the pre-allocated data and building/storing each slice. Cheers, -- Nicholas Nadeau, P.Eng., AVS On 7 October 2017 at 05:56, Andrea Gavana wrote: > Apologies, correct timeit code this time (I had gotten the wrong shape for > the output matrix in the loop case): > >