numpy.chararray.tostring

方法

chararray.tostring(order='C')

的兼容性别名 tobytes ,行为完全相同。

尽管它的名字,它还是回来了 bytesstr S

1.19.0 版后已移除.