Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy filter based on value

import numpy as np

arr = np.array([41, 42, 43, 44])
newarr = arr[arr > 41]
print(newarr)
 
PREVIOUS NEXT
Tagged: #numpy #filter #based
ADD COMMENT
Topic
Name
3+6 =