Re: [Numpy-discussion] How to get Boolean matrix for similar lists in two different-size numpy arrays of lists

2021-03-14 Thread zoj613
The following seems to produce what you want using the data provided ``` In [31]: dF = np.genfromtxt('/home/F.csv', delimiter=',').tolist() In [32]: dS = np.genfromtxt('/home/S.csv', delimiter=',').tolist() In [33]: r = [True if i in lS else False for i in dF] In [34]: sum(r) Out[34]: 300 ```

Re: [Numpy-discussion] How to get Boolean matrix for similar lists in two different-size numpy arrays of lists

2021-03-14 Thread Andras Deak
On Sun, Mar 14, 2021 at 8:35 PM Robert Kern wrote: > > On Sun, Mar 14, 2021 at 3:06 PM Ali Sheikholeslam > wrote: >> >> I have written a question in: >> https://stackoverflow.com/questions/66623145/how-to-get-boolean-matrix-for-similar-lists-in-two-different-size-numpy-arrays-o >> It was recomme

Re: [Numpy-discussion] How to get Boolean matrix for similar lists in two different-size numpy arrays of lists

2021-03-14 Thread Robert Kern
On Sun, Mar 14, 2021 at 3:06 PM Ali Sheikholeslam < sheikholeslam@gmail.com> wrote: > I have written a question in: > > https://stackoverflow.com/questions/66623145/how-to-get-boolean-matrix-for-similar-lists-in-two-different-size-numpy-arrays-o > It was recommended by numpy to send this subje

[Numpy-discussion] How to get Boolean matrix for similar lists in two different-size numpy arrays of lists

2021-03-14 Thread Ali Sheikholeslam
I have written a question in: https://stackoverflow.com/questions/66623145/how-to-get-boolean-matrix-for-similar-lists-in-two-different-size-numpy-arrays-o It was recommended by numpy to send this subject to the mailing lists. The question is as follows. I would be appreciated if you could advise

Re: [Numpy-discussion] Looking for a difference between Numpy 0.19.5 and 0.20 explaining a perf regression with Pythran

2021-03-14 Thread Sebastian Berg
On Sun, 2021-03-14 at 17:15 +1100, Juan Nunez-Iglesias wrote: > Hi Pierre, > > If you’re able to compile NumPy locally and you have reliable > benchmarks, you can write a script that tests the runtime of your > benchmark and reports it as a test pass/fail. You can then use “git > bisect run” to au

[Numpy-discussion] Pi day easter egg

2021-03-14 Thread Neal Becker
There's a little pi day easter egg for all math fans. Google for pi to find it. ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Numpy 1.20.1 availability

2021-03-14 Thread Ralf Gommers
On Sun, Mar 14, 2021 at 11:14 AM Peter Cock wrote: > I would recommend using the community run conda-forge as one of your > default conda channels. They have a very slick largely automated system > to update recipes when upstream makes a release. The default Anaconda > channel from Anaconda, Inc.

Re: [Numpy-discussion] Numpy 1.20.1 availability

2021-03-14 Thread dan_patterson
Thanks, glad to hear that people are aware of the delay. As I said, there are other reasons beyond my control, for the limitations. The wait is on. -- Sent from: http://numpy-discussion.10968.n7.nabble.com/ ___ NumPy-Discussion mailing list NumPy-Discu

Re: [Numpy-discussion] Numpy 1.20.1 availability

2021-03-14 Thread Peter Cock
I would recommend using the community run conda-forge as one of your default conda channels. They have a very slick largely automated system to update recipes when upstream makes a release. The default Anaconda channel from Anaconda, Inc. (formerly Continuum Analytics, Inc.) is comparatively slow.

Re: [Numpy-discussion] Numpy 1.20.1 availability

2021-03-14 Thread Matti Picus
On 3/14/21 6:12 AM, dan_patterson wrote: Any idea why the most recent version isn't available on the main anaconda channel. conda-forge and building are not options for a number of reasons. I posted a package request there but double digit days have gone by it just got