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 <rep...@bugs.python.org> <http://bugs.python.org/issue27361> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com