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_generation ValueError: Passed header names mismatches usecols #14

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

Comments

@aschn
Copy link
Contributor

aschn commented Oct 28, 2014

At 2014-10-27 13:48:

File "/app/.heroku/python/lib/python2.7/site-packages/pyiso/tasks.py", line 15, in get_generation
data = c.get_generation(*_kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/pyiso/bpa.py", line 122, in get_generation
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 686, in pandas.parser.TextReader._get_header (pandas/parser.c:6545)
ValueError: Passed header names mismatches usecols

@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