Re: [Numpy-discussion] UC Berkeley hiring developers to work on NumPy

2017-05-24 Thread Elliot Hallmark
+1 for a conflict of interest policy. A member of another group reviewing and pulling a change is a reasonable expectation. Explicit is better than implicit. ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/li

Re: [Numpy-discussion] Only integer scalar arrays can be converted to a scalar index

2017-09-14 Thread Elliot Hallmark
Won't any solution not using hdf5 or some other chunked on disk storage method load the whole cube into memory? ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Only integer scalar arrays can be converted to a scalar index

2017-09-15 Thread Elliot Hallmark
Nope. Numpy only works on in memory arrays. You can determine your own chunking strategy using hdf5, or something like dask can figure that strategy out for you. With numpy you might worry about not accidentally making duplicates or intermediate arrays, but that's the extent of memory optimization

Re: [Numpy-discussion] argmax() indexes to value

2019-10-30 Thread Elliot Hallmark
I wouldn't be surprised at all if calling max in addition to argmax wasn't as fast or faster than indexing the array using argmax. Regardless, just use that then profile when you're done with the whole thing and see if there's any gains to be made. Very likely not here. -elliot On Wed, Oct 30, 20

Re: [Numpy-discussion] argmax() indexes to value

2019-10-31 Thread Elliot Hallmark
ven 1% of your run time, but it depends on what your doing. Part of python with numpy is slightly not caring about big O because trying to be clever is rarely worth it in my experience. On Thu, Oct 31, 2019 at 12:35 AM Daniele Nicolodi wrote: > On 30/10/2019 22:42, Elliot Hallmark wrote: > &