Note
Numpy (11) 본문
728x90
How to get the common items between two python numpy arrays?
a = np.array([1,2,3,2,3,4,3,4,5,6])
b = np.array([7,2,10,2,7,4,9,4,9,8])
np.intersect1d(a,b)
'Numpy' 카테고리의 다른 글
Numpy (13) (0) | 2022.08.03 |
---|---|
Numpy (12) (0) | 2022.08.02 |
Numpy (10) (0) | 2022.07.30 |
Numpy (9) (0) | 2022.07.29 |
Numpy (8) (0) | 2022.07.28 |
Comments