我正在Coursera上参加ML课程,而我在使用SFrame
打开文件时遇到问题,当我尝试时,会出现此错误:
sf = graphlab.Sframe.read_csv('people.csv')
******AttributeError Traceback (most recent call last)
<ipython-input-29-42b242f73eda> in <module>()
----> 1 sf = graphlab.Sframe.read_csv('people.csv')
AttributeError: 'module' object has no attribute 'Sframe'******
我试图运行Kernel&gt;重新启动
NameError Traceback (most recent call last)
<ipython-input-28-07d139e1ed65> in <module>()
----> 1 Kernel > Restart
NameError: name 'Kernel' is not defined
我是Python的新手,有人可以帮助我吗?
答案 0 :(得分:1)
f应该在sframe中大写。
sf = graphlab.SFrame.read_csv('people.csv')