AttributeError: module object has no attribute "Series". Code works in iPython
The issue is that you've called your module pandas
. Call it something else. And don't forget to delete the pandas.pyc
generated on import pandas
or else it will keep failing.