np.savetxt("file.csv", staticData, delimiter=',', fmt='%s')

在numpy.savetxt()函数中增加参数fmt='%s'

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐