请 [注册] 或 [登录]  | 返回主站

量化交易吧 /  源码分享 帖子:3365108 新帖:25

[金融终端]显示错误 ParserError

爱德华发表于:5 月 27 日 14:00回复(1)

显示错误 ParserError: Error tokenizing data. C error: out of memory, 但我仍然有內存剩餘

File "api\data.py", line 462, in data.getfundamentals
File "apis\db.py", line 831, in db.getfundamentals
File "C:\JoinQuant-Desktop\Python27\lib\site-packages\pandas\io\parsers.py", line 709, in parserf
return read(filepathorbuffer, kwds)
File "C:\JoinQuant-Desktop\Python27\lib\site-packages\pandas\io\parsers.py", line 449, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "C:\JoinQuant-Desktop\Python27\lib\site-packages\pandas\io\parsers.py", line 818, in __init

self._make_engine(self.engine)
File "C:\JoinQuant-Desktop\Python27\lib\site-packages\pandas\io\parsers.py", line 1049, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "C:\JoinQuant-Desktop\Python27\lib\site-packages\pandas\io\parsers.py", line 1695, in __init

self._reader = parsers.TextReader(src, **kwds)
File "pandas_libs\parsers.pyx", line 562, in pandas._libs.parsers.TextReader.__cinit

File "pandas_libs\parsers.pyx", line 760, in pandas._libs.parsers.TextReader._get_header
File "pandas_libs\parsers.pyx", line 965, in pandas._libs.parsers.TextReader._tokenize_rows
File "pandas_libs\parsers.pyx", line 2208, in pandas._libs.parsers.raise_parser_error
ParserError: Error tokenizing data. C error: out of memory

全部回复

0/140

达人推荐

量化课程

    移动端课程