Jan-22-2017, 07:00 PM
When you import a module in Python, you have to either from module import thing or after import module refer to thing as module.thing. There's nowhere in your code that you're saying where Series, index, or Dataframe come from.
If you change your first import to
If you change your first import to
from pandas import Seriesyou'll get past your first problem.