【发布时间】:2021-01-28 16:37:55
【问题描述】:
--------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-18-e20bfc399896> in <module>()
----> 1 collection = pd.read_csv("https://raw.githubusercontent.com/BBKdatasciencetaster/DS/main/data/paintings.csv", index_col=0)
2 collection.head() # Returns the first five rows
NameError: name 'pd' is not defined
【问题讨论】:
-
你的笔记本中你
import pandas as pd的部分还没有被执行
标签: python-3.x jupyter-notebook