Newbie question - file cannot be found (pd.read_csv("myfile")


tried pd.read_csv("myfile") after having imported pandas as pd

the file however, is in my project (tree on the left), though it is hidden in a few folders.

i tried the following code which i found online.

import os

path = “‎⁨/Users/johndoe/Documents/Python/Udemy_ML/Data_Preprocessing⁩”

however, the file was still not found.

then i read that the current project is the current working directory. Even though, my file is shown in the tree on the left (which i assume to be the working directory) it cannot be found.

what can i do?


It would be helpful if you posted a screenshot of your code open in Atom with the tree view showing the file you’re trying to read.