Object pandas has no attribute name Series

Praveen.883 picture Praveen.883 · May 14, 2015 · Viewed 19.2k times · Source
import pandas as pd
numbers = {1,2,3,4,5}
ser = pd.Series(numbers)
print ser

I write this code in python for pandas series. but it's giving this

"AttributeError: 'module' object has no attribute 'Series'"

please help me

Answer

Praveen.883 picture Praveen.883 · May 14, 2015

The Error in my problem is the file name.

I save the file as pandas.py that's why i got the error.