在Python里,我有一个ndarray y,想将它打印为array([0, 0, 0, 1, 0, 1, 1, 0, ... 但当我打字时 y.count(0) 或 y.count(1) ,上面说 'numpy.ndarray' ...
確定! 回上一頁