首页 > 解决方案 > 使用 Matplotlib 在 Colab 中加载文件

问题描述

当我使用此代码将数据导入 Colab 时,它给了我以下错误。

import pandas as pd
shirts = pd.read_csv(r"C:\Users\hp\Desktop\wine.data")

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\hp\\Desktop\\wine.data'

我无法理解,因为文件在我的桌面上!
有人能帮我吗?

标签: google-colaboratory

解决方案


推荐阅读