[Numpy-discussion] Re: New user dtypes and the buffer protocol

2023-07-06 Thread Matti Picus
On 6/7/23 20:44, Evgeni Burovski wrote: On Thu, Jul 6, 2023 at 7:56 PM Nathan wrote: > > Hi all, > > As you may know, I'm currently working on a variable-width string dtype using the new experimental user dtype API. As part of this work I'm running into papercuts that future dtype authors

[Numpy-discussion] Re: New user dtypes and the buffer protocol

2023-07-06 Thread Evgeni Burovski
I wonder if the dlpack protocol can be helpful for these kinds of dtypes? On Thu, Jul 6, 2023 at 7:56 PM Nathan wrote: > > Hi all, > > As you may know, I'm currently working on a variable-width string dtype using the new experimental user dtype API. As part of this work I'm running into

[Numpy-discussion] New user dtypes and the buffer protocol

2023-07-06 Thread Nathan
Hi all, As you may know, I'm currently working on a variable-width string dtype using the new experimental user dtype API. As part of this work I'm running into papercuts that future dtype authors will likely hit and I've been trying to fix them as I go. One issue I'd like to raise with the list

[Numpy-discussion] Re: mean_std function returning both mean and std

2023-07-06 Thread Neal Becker
On a somewhat related note, I usually find I need to compute stats incrementally. To do this, a stat object is created so batches of samples can be fed to it sequentially. I used to use an implementation based on boost::accumulator for this. More recently I'm using my own c++ code based on

[Numpy-discussion] Re: mean_std function returning both mean and std

2023-07-06 Thread Ronald van Elburg
Second attempt after the triage review of last week: ENH: add mean keyword to std and var #24126 (https://github.com/numpy/numpy/pull/24126) ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to