DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
numpy drop duplicates
import numpy as np array = np.array([0,1,0]) print(np.unique(array)) >> [0 1]
PREVIOUS
NEXT
Tagged:
#numpy
#drop
#duplicates
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit