在Python 中我們可以使用 numpy 模組的 unique 函數列出串列(list)中所有不重複的元素: import numpy # 原始數字資料 a = [3, 4, 0, 1, 3, 0, 0, 1, 4, 4] # 列出不 ...
確定! 回上一頁