problem with opening csv file in pandas - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Data Science (https://python-forum.io/forum-44.html) +--- Thread: problem with opening csv file in pandas (/thread-28369.html) |
problem with opening csv file in pandas - saratha - Jul-16-2020 Hello everyone, See, I'm a Pycharm user and I'm currently learning how to use pandas for data analysis. But the problem is that I cannot open my csv file. Here is how it goes: Code: import pandas as pd data = pd.read_csv('This PC\\Downloads\\sample.csv') print(data)Error: Please help!
RE: problem with opening csv file in pandas - Larz60+ - Jul-16-2020 the error message is pretty clear. 'This PC\\Downloads\\sample.csv' does not exist looks like 'This PC' needs to be replaced with a real directory name RE: problem with opening csv file in pandas - saratha - Jul-21-2020 Thanks ! |