[Numpy-discussion] 1D ndarray to java double[]

2022-12-31 Thread Bill Ross
How best to write a 1D ndarray as a block of doubles, for reading in java as double[] or a stream of double? Maybe the performance of simple looping over doubles in python.write() and java.read() is fine, but maybe there are representational diffs? Maybe there's a better solution for the use case

[Numpy-discussion] Re: Advanced indexing doesn't follow the Principle of least astonishment

2022-12-31 Thread Andras Deak
On Thu, Dec 29, 2022, at 16:34, Robert Kern wrote: > On Thu, Dec 29, 2022 at 8:50 AM Diogo Valada > wrote: >> Hi all, >> >> New to the mailing list, so I hope I'm creating a discussion in the right >> place. >> >> Am I the only one that thinks that Advanced indexing in numpy doesn't follow >>