[New-bugs-announce] [issue27361] ValueError on eval after 'from pandas import *'

Eric Sprigg report at bugs.python.org
Tue Jun 21 04:59:40 EDT 2016


New submission from Eric Sprigg:

Using 'from pandas import *' leads to a ValueError exception being raised when eval tries to execute an expression like
  eval("df['Country'] == 'Brazil'")

When the alternative form 'import pandas' is used, the expression evaluates as expected.

The test program in the attached file demonstrates the problem.

I use anaconda with Python 3.4.4 on OS X 10.11.5

----------
components: Interpreter Core
files: eval problem.ipynb
messages: 268975
nosy: espri
priority: normal
severity: normal
status: open
title: ValueError on eval after 'from pandas import *'
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file43496/eval problem.ipynb

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27361>
_______________________________________


More information about the New-bugs-announce mailing list