=> It takes two 1D arrays and produces two 2D matrices corresponding to all pairs for (x,y) in the two arrays.
where () :-
=> The numpy.where() function is a vectorized version of the ternary expression .
ex : x if condition else y .
No comments:
Post a Comment
thank Q