You need to specify the shape of the array and itemsize – the length of each string. chararray = np.chararray([3,3], itemsize=3) chararray ...
確定! 回上一頁