import pandas as pd
spy = pd.read_csv("spydatacsv.csv", header=0)
print(spy.head())
错误:
Traceback (most recent call last):
File "/Users/christianwooldridge/PycharmProjects/1/pandas.py", line 1, in <module>
import pandas as pd
File "/Users/christianwooldridge/PycharmProjects/1/pandas.py", line 2, in <module>
spy = pd.read_csv("spydatacsv.csv", header=0)
AttributeError: partially initialized module 'pandas' has no attribute 'read_csv' (most likely due to a circular import)