對於一維數組或列表,unique()返回的是一個無元素重複的數組或列表示例: >>> a=np.random.randint(0,5,8) >>> a array([2, 3, 3, 0, 1, 4, 2, ...
確定! 回上一頁