Mar-13-2019, 05:58 PM
Thanks Shay for your quick help.
Im able to understand now about this part of code.
But if the "if" condition is modified and it also depends on 'i'
as shown below,
Im able to understand now about this part of code.
But if the "if" condition is modified and it also depends on 'i'
as shown below,
f = lambda x : ( [L[i] for i in range(2) if x >= M[i] and x < M[i+1]] [0]) return np.vectorize(f, otypes=[np.uint32])(Array)Will it behave the same.