[Numpy-discussion] Re: deprecating float(x) for ndim > 0

2021-09-16 Thread Aaron Meurer
On Thu, Sep 16, 2021 at 12:32 AM Nico Schlömer wrote: > > > I was playing with this though and was a little surprised to find > > NumPy allows things like this: > > > > >>> a = np.array([1, 2, 3]) > > >>> a[:] = np.array([[[5, 6, 7]]]) > > >>> a > > array([5, 6, 7]) > > Thanks Aaron for this examp

[Numpy-discussion] npreadtext: `numpy.loadtxt` in C

2021-09-16 Thread Ross Barnowski
Hi all, This is to announce [`npreadtext`](https://github.com/BIDS-numpy/npreadtext), a drop-in replacement for `numpy.loadtxt` written in C for improved performance. We are now at feature parity with `loadtxt`, and would greatly appreciate your feedback & testing. We hope eventually to include `n