Skip to content

Instantly share code, notes, and snippets.

@MichaelWS
Created December 18, 2013 03:02
Show Gist options
  • Save MichaelWS/8016639 to your computer and use it in GitHub Desktop.
Save MichaelWS/8016639 to your computer and use it in GitHub Desktop.
pytables traceback
File "/usr/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 637, in select
auto_close=auto_close).get_values()
File "/usr/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 1311, in get_values
results = self.func(self.start, self.stop)
File "/usr/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 626, in func
columns=columns, **kwargs)
File "/usr/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 3749, in read
if not self.read_axes(where=where, **kwargs):
File "/usr/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 3020, in read_axes
self.selection = Selection(self, where=where, **kwargs)
File "/usr/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 4229, in __init__
self.terms = self.generate(where)
File "/usr/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 4242, in generate
return Expr(where, queryables=q, encoding=self.table.encoding)
File "/usr/anaconda/lib/python2.7/site-packages/pandas/computation/pytables.py", line 518, in __init__
self.terms = self.parse()
File "/usr/anaconda/lib/python2.7/site-packages/pandas/computation/expr.py", line 780, in parse
return self._visitor.visit(self.expr)
File "/usr/anaconda/lib/python2.7/site-packages/pandas/computation/expr.py", line 442, in visit
node = ast.fix_missing_locations(ast.parse(clean))
File "/usr/anaconda/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
(id ==['MCPQD9-S-US']) and (date ==2002 -11 -0 8 )
^
SyntaxError: invalid syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment