I just downloaded the file to the desktop and tried to give the file location and running but it gives me the error “‘utf-8’ codec can’t decode byte 0xda in position 18: invalid continuation byte” and sometimes file does not exist error
I am having an error in reading a csv file
Hi,
Make sure you downloaded the file properly.
And keep the csv files together where the ipynb in a same folder.
X = pd.read_csv("./xdata.csv")
./
means the current directory, so it will search for the file in current directory.
Still if this error persists, do attach a screenshot of the error where you are trying to read the file.
thanks for the guidance it worked.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.