Many thanks!
Just one more inquiry along those lines, if I may. The code asserts that clip should outpace np.maximum(mp.minumum(arr, max), min). Despite this: *time a = np.arange(100)it.clip(4, 20) # 8.48 µs %timeit np.maximum(np.minimum(a, 20), 4) 2.09 nanoseconds Will this be the norm? _______________________________________________ NumPy-Discussion mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: [email protected]
