我正在尝试执行以下操作
>> from numpy import * >> x = array([[3,2,3],[4,4,4]]) >> y = set(x) TypeError: unhashable type: 'numpy.ndarray'
如何使用Numpy数组中的所有元素轻松高效地创建集合?
python arrays numpy set
arrays ×1
numpy ×1
python ×1
set ×1