【问题标题】:I am getting file not found error in watson notebook while the file already exists当文件已经存在时,我在 watson 笔记本中收到文件未找到错误
【发布时间】:2021-05-08 08:37:38
【问题描述】:

【问题讨论】:

  • 请不要发布您的代码图片。除非他们可以复制您的代码并进行测试,否则人们很难调试。

标签: python python-3.x dataframe csv file


【解决方案1】:

只需使用正斜杠('/')而不是反斜杠('')

path = 'C:/smthing/smthing.csv'
pd.read_csv(path)

【讨论】:

    猜你喜欢
    • 2018-06-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-09-22
    • 2023-03-02
    • 1970-01-01
    • 2021-02-04
    相关资源
    最近更新 更多