DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+6 =
Submit