I have two boolean lists, e.g.,
x=[True,True,False,False] y=[True,False,True,False]
I want to AND these lists together, with the expected o
Here is a simple solution:
np.logical_and(x,y)