How to Solve NameError: name 'Series' is not defined -- pandas

Solution: Import the 'Series' module

To Solve the error, add the following line to the top of your code.

from pandas import Series

 

For more information:
Python pandas Series