1、输出为CSV文件时,Permission denied
原因可能是:
(1)、构建DataFrame时没有写index参数
(2)、用Dict构建最开始的数据时,value没有写成List的形式,例如
#错误 data={ ‘name‘:‘Lee‘, ‘age‘:13 } #正确 data={ ‘name‘:[‘Lee‘], ‘age‘:[13] }
Pandas:各种错误
原文:https://www.cnblogs.com/ShineLeBlog/p/14643473.html