a = np.zeros(1_000_000)
a[100] = 1
%timeit np.any(a)
814 µs ± 17.8 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
%timeit np.any(a == 1)
488 µs ± 5.68 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
Haven't investigated further since your times are much longer than mine and
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
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 a thumbs up and package-request tag
https://github.com/ContinuumIO/
The are in np.char
mystr = np.array(["test first", "test second", "test third"])
np.char.title(mystr)
array(['Test First', 'Test Second', 'Test Third'], dtype='http://numpy-discussion.10968.n7.nabble.com/
___
NumPy-Discussion mailing list
NumPy-Discuss