These are chat archives for numpy/numpy
X=np.fromfunction(lambda i, k, h: min(i+k-h, k), (3,2,3)) gives me:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all(), which I do not get.
I mean, it's probably some stupid typo, but I just don't get it.
minfunction, which does not know what to do with arrays
if a < b: a else bbut when
bare arrays, this doesn't work, because some elements are true, and some are false
s/oldtext/newtext/will actually edit/update your last message here in gitter. Wow! (And geeky).