Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy logical _and

import numpy as np
 
x1 = [False,7,0,4,5] 
 
x2 = [9,True,False,8,1]
 
print(np.logical_and(x1,x2))
Source by www.pythonpool.com #
 
PREVIOUS NEXT
Tagged: #numpy #logical
ADD COMMENT
Topic
Name
4+2 =