python将DataFrame数据导入csv文件

path='D:\python38\Python从入门到实践\基础知识练习\pac.csv'
matrix.to_csv(path,sep=',',index=False,header=False)

你可能感兴趣的:(笔记,python)