Jupyter Notebook读入csv文件出现错误

问题

jupyter notebook读入csv数据时出现错误“SyntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in position 2-3: truncated \UX”

Jupyter Notebook读入csv文件出现错误

解决方法

将文件路径中’C:\Users\huangyanli\Desktop\churn.csv’的“\”改为“\”就可以了。
Jupyter Notebook读入csv文件出现错误
完美解决问题。

新手上路,以后会持续更新小白学习之路遇到的各种错误以及解决办法~