[Numpy-discussion] Re: Adding NumpyUnpickler to Numpy 1.26 and future Numpy 2.0

2023-10-08 Thread Aaron Meurer
Is it possible to convert a NumPy 1 pickle file into a generic pickle file that works in both NumPy 1 and 2? As far as I understand, pickle is Turing complete, so I imagine it should be theoretically possible, but I don't know how easy it would be to actually do this or how it would affect the pick

[Numpy-discussion] Re: Change in numpy.percentile

2023-10-08 Thread Jerome Kieffer
On Fri, 06 Oct 2023 19:17:22 - norbertpiotraduc...@gmail.com wrote: > Hi, > I have an idea to change the numpy.percentile. Think numpy.percentile and > numpy.nanpercentyl are the same features, and the only difference is that > numpy.nanpercentyl doesn't include NaN values. Wouldn't it be e

[Numpy-discussion] Re: Adding NumpyUnpickler to Numpy 1.26 and future Numpy 2.0

2023-10-08 Thread Nathan
I don’t think this will be a problem for using pickle for IPC. For the python multiprocessing module, all processes would be running the same numpy version, so there wouldn’t be a problem. It could be an issue if pickle is used to communicate numpy arrays between a subset of workers running numpy

[Numpy-discussion] Re: Adding NumpyUnpickler to Numpy 1.26 and future Numpy 2.0

2023-10-08 Thread Ronald van Elburg
If needed I can try to construct a minimal example for testing purposes. ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discus

[Numpy-discussion] Re: Adding NumpyUnpickler to Numpy 1.26 and future Numpy 2.0

2023-10-08 Thread Ronald van Elburg
Our Numpy arrays are pickled when they are transported over Pipes between Processors (using multiprocessing). Just to point out that there uses of pickling not involving files. Would that affect your analysis? ___ NumPy-Discussion mailing list -- numpy-

[Numpy-discussion] next NumPy community meeting

2023-10-08 Thread Inessa Pawson
The next NumPy community meeting will be held this Wednesday, October 11th at 5pm UTC. Join us via Zoom: https://numfocus-org.zoom.us/j/83278611437?pwd=ekhoLzlHRjdWc0NOY2FQM0NPemdkZz09 . Everyone is welcome and encouraged to attend. To add to the meeting agenda the topics you’d like to discuss, fol