import numpy as np
array_a = np.array([1,2,3,4,5]) # length of 5
array_b = np.array([6,7,8,9,10]) # length of 5
condition = array_a>3
print condition
subset_a = array_a[condition]
print subset_a
subset_b = array_b[condition]
print subset_b
aW1wb3J0IG51bXB5IGFzIG5wCgphcnJheV9hID0gbnAuYXJyYXkoWzEsMiwzLDQsNV0pICMgbGVuZ3RoIG9mIDUKYXJyYXlfYiA9IG5wLmFycmF5KFs2LDcsOCw5LDEwXSkgIyBsZW5ndGggb2YgNQoKY29uZGl0aW9uID0gYXJyYXlfYT4zCnByaW50IGNvbmRpdGlvbgpzdWJzZXRfYSA9IGFycmF5X2FbY29uZGl0aW9uXQpwcmludCBzdWJzZXRfYQpzdWJzZXRfYiA9IGFycmF5X2JbY29uZGl0aW9uXQpwcmludCBzdWJzZXRfYg==