pandas报错

E:\Anaconda3\python.exe C:/Users/yunfan/Desktop/daqing/newdata/preprocess10.py
Traceback (most recent call last):
  File "C:/Users/yunfan/Desktop/daqing/newdata/preprocess10.py", line 27, in <module>
    df10.to_csv('10.csv', encoding='gbk2312')
  File "E:\Anaconda3\lib\site-packages\pandas\core\frame.py", line 1383, in to_csv
    formatter.save()
  File "E:\Anaconda3\lib\site-packages\pandas\formats\format.py", line 1460, in save
    compression=self.compression)
  File "E:\Anaconda3\lib\site-packages\pandas\io\common.py", line 330, in _get_handle
    f = open(path, mode, encoding=encoding)
PermissionError: [Errno 13] Permission denied: '10.csv'

你可能感兴趣的:(python)