I have two vectors (or two one dimensional numpy arrays with the same number of elements) a and b where I want to find the number of cases I have that:
a < 0 and b >0
But when I type the above (or something similar) into IPython I get:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
How am I supposed to do the above operation?
Thank you