我目前正在尝试使用 numpy.unique ,当我在2D数组中的唯一行上尝试该示例时, >>> a = np.array([[1, 0, 0], [1, 0, 0], [2, 3, 4]]) >>> np.unique(a ...
確定! 回上一頁