我正在使用 Databricks 社区版并完成ML 介绍教程。
我可以%fs ls databricks-datasets/COVID/covid-19-data/us-states.csv
,但无法通过 pandas 阅读
>>> df = pd.read_csv("/dbfs/databricks-datasets/COVID/covid-19-data/us-states.csv")
FileNotFoundError: [Errno 2] File /dbfs/databricks-datasets/COVID/covid-19-data/us-states.csv does not exist: '/dbfs/databricks-datasets/COVID/covid-19-data/us-states.csv'
直接databricks数据集中open
的README.md
文件也失败了
>>> f = open("/dbfs/databricks-datasets/README.md", "r")
FileNotFoundError: [Errno 2] No such file or directory: '/dbfs/databricks-datasets/README.md'
有什么想法或建议吗?