This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author espri
Recipients espri
Date 2016-06-21.08:59:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466499580.5.0.314875374842.issue27361@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2016-06-21 08:59:40esprisetrecipients: + espri
2016-06-21 08:59:40esprisetmessageid: <1466499580.5.0.314875374842.issue27361@psf.upfronthosting.co.za>
2016-06-21 08:59:40esprilinkissue27361 messages
2016-06-21 08:59:40espricreate