|

楼主 |
发表于 2020-6-10 13:58:17
|
显示全部楼层
Warning (from warnings module):
File "C:\Users\jie.ding\Desktop\Code\txtzhuan.py", line 11
data = pd.read_csv(each,sep = "[ ]+")
ParserWarning: Falling back to the 'python' engine because the 'c' engine does not support regex separators (separators > 1 char and different from '\s+' are interpreted as regex); you can avoid this warning by specifying engine='python'.
Traceback (most recent call last):
File "C:\Users\jie.ding\Desktop\Code\txtzhuan.py", line 11, in <module>
data = pd.read_csv(each,sep = "[ ]+")
File "C:\Users\jie.ding\AppData\Local\Programs\Python\Python38-32\pandas\io\parsers.py", line 685, in parser_f
return _read(filepath_or_buffer, kwds)
File "C:\Users\jie.ding\AppData\Local\Programs\Python\Python38-32\pandas\io\parsers.py", line 457, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "C:\Users\jie.ding\AppData\Local\Programs\Python\Python38-32\pandas\io\parsers.py", line 895, in __init__
self._make_engine(self.engine)
File "C:\Users\jie.ding\AppData\Local\Programs\Python\Python38-32\pandas\io\parsers.py", line 1147, in _make_engine
self._engine = klass(self.f, **self.options)
File "C:\Users\jie.ding\AppData\Local\Programs\Python\Python38-32\pandas\io\parsers.py", line 2288, in __init__
f, handles = _get_handle(
File "C:\Users\jie.ding\AppData\Local\Programs\Python\Python38-32\pandas\io\common.py", line 402, in _get_handle
f = open(path_or_buf, mode, errors="replace", newline="")
PermissionError: [Errno 13] Permission denied: '.idea' |
|