Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #The below outputs the number of houses that have ANY sample that is greater than or equal to the actionable lead level
- def make2dList(rows, cols):
- a=[]
- i= 0
- for row in range(rows):
- a += [[lead1_mgL[i], lead2_mgL [i], lead3_mgL[i]]]
- i += 1
- return a
- rows = 271
- cols = 3
- a = make2dList(rows, cols)
- a = np.array(a)
- def make2dList(rows, cols):
- b=[]
- z= 0
- for row in range(rows):
- b += [a[z].max()]
- z += 1
- return b
- rows = 271
- cols = 1
- b = make2dList(rows, cols)
- b = np.array(b)
- action = (b >= 0.015).sum()
- print (action)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement