Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

list elements not in indices

mask = np.ones(arr.size, dtype=bool)
mask[indexes] = False
result = arr[mask]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #elements #indices
ADD COMMENT
Topic
Name
5+3 =