Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BPA get_load CParserError: Passed header=0 but only 0 lines in file #15

Open
aschn opened this issue Oct 28, 2014 · 0 comments
Open

BPA get_load CParserError: Passed header=0 but only 0 lines in file #15

aschn opened this issue Oct 28, 2014 · 0 comments
Labels

Comments

@aschn
Copy link
Contributor

aschn commented Oct 28, 2014

At 2014-10-27 18:23:

File "/app/.heroku/python/lib/python2.7/site-packages/pyiso/tasks.py", line 30, in get_load
data = c.get_load(*_kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/pyiso/bpa.py", line 139, in get_load
df = self.fetcher()()
File "/app/.heroku/python/lib/python2.7/site-packages/pyiso/bpa.py", line 73, in fetch_recent
index_col=0, parse_dates=True, usecols=cols)
File "/app/.heroku/python/lib/python2.7/site-packages/pyiso/base.py", line 296, in parse_to_df
df = pd.read_csv(filelike, *_kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/pandas/io/parsers.py", line 400, in parser_f
return _read(filepath_or_buffer, kwds)
File "/app/.heroku/python/lib/python2.7/site-packages/pandas/io/parsers.py", line 198, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/app/.heroku/python/lib/python2.7/site-packages/pandas/io/parsers.py", line 479, in init
self._make_engine(self.engine)
File "/app/.heroku/python/lib/python2.7/site-packages/pandas/io/parsers.py", line 586, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "/app/.heroku/python/lib/python2.7/site-packages/pandas/io/parsers.py", line 957, in init
self._reader = _parser.TextReader(src, **kwds)
File "parser.pyx", line 477, in pandas.parser.TextReader.cinit (pandas/parser.c:4434)
File "parser.pyx", line 599, in pandas.parser.TextReader._get_header (pandas/parser.c:5831)
CParserError: Passed header=0 but only 0 lines in file

@aschn aschn added the bug label Oct 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant