Re: [Numpy-discussion] Accepting NEP 35 `like=array_like` for use with `__array_function__`

2021-06-08 Thread Ralf Gommers
On Mon, Jun 7, 2021 at 8:34 PM Sebastian Berg wrote: > Hi all, > > I have opened a PR (https://github.com/numpy/numpy/pull/19188) to > *finalize* NEP 35: > > > https://numpy.org/neps/nep-0035-array-creation-dispatch-with-array-function.html > > Which added `like=` keyword argument to `np.array`,

Re: [Numpy-discussion] Tensor Typing presentation and discussion on Wednesday! (As part of the NumPy Community Meeting)

2021-06-08 Thread Stefan van der Walt
On Tue, Jun 8, 2021, at 03:23, Juan Nunez-Iglesias wrote: > Hello! Any chance this could be recorded for those of us in useless > time zones? 😂 I added a note to the agenda; we'll ask the speakers and record if they don't mind. Stéfan ___ NumPy-Discu

[Numpy-discussion] NumPy 1.21.0rc2 released

2021-06-08 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce the release of NumPy 1.21.0rc2. The highlights are - continued SIMD work covering more functions and platforms, - initial work on the new dtype infrastructure and casting, - universal2 wheels for Python 3.8 and Python 3.9 on M

Re: [Numpy-discussion] numpy histogram data

2021-06-08 Thread Keith Sloan
There really is not a lot of other code. RedEllipticalMasses is an Astropy Table read in from a fits file from astropy.table import Table, join import numpy as np RedEllipticalMasses = Table.read('../../GAMA_Data/REMassEClassEmeasure.fits') RedEllipticalMasses['Z_1'] is a single column name 'Z_1'

Re: [Numpy-discussion] numpy histogram data

2021-06-08 Thread Doug Davis
Keith Sloan writes: > Thanks > > Okay trying to understand the data being returned. > I have > > counts, bins = np.histogram(RedEllipticalMasses['Z_1'],bins=80) > > If I print lengths I get > RedEllipticalMasses is 2514 > bins = 81 > and counts is 5 > ( It is 5 Arrays each of length 80) > > Okay

Re: [Numpy-discussion] Tensor Typing presentation and discussion on Wednesday! (As part of the NumPy Community Meeting)

2021-06-08 Thread Juan Nunez-Iglesias
Hello! Any chance this could be recorded for those of us in useless time zones? 😂 On Mon, 7 Jun 2021, at 6:03 PM, Sebastian Berg wrote: > Hi all, > > There will be a NumPy Community meeting Wednesday June 9th at > 20:00 UTC. > > This meeting will be dedicated to a presentation by Matthew and P