【发布时间】:2022-01-16 08:50:30
【问题描述】:
在 google colaboratory 中使用 pandas,我正在尝试导入一个名为“gifted.csv”的 .csv 文件。使用以下代码:
df=pd.read_csv('/content/gifted.csv')
我已经以 pd 的身份运行了 pandas 库,但是每当我运行代码时,它都不起作用,并且出现以下错误。
enter code hereTypeError: 'str' object is not callable
【问题讨论】:
-
请edit您的问题并发布minimal reproducible example。
标签: python pandas google-colaboratory