I have been attempting to read data from a CSV file using a Python script in Jupyter Notebook. I expected the script to successfully load the CSV data into a pandas DataFrame without errors, allowing me to perform data analysis and visualization. However, I encountered a ‘FileNotFoundError’ indicating that the script could not locate the CSV file at the specified path. As a result, the script failed providing this error “FileNotFoundError: [Errno 2] No such file or directory: ‘customerss.csv'”..
The CSV file works fine in Excel and I can read the data well but in Jupyter Notebook, it’s not working. I’m trying to learn data analysis using Python and have been stuck on this CSV issue for two days.
My question is how do i solved such issue?
Jane Hiram is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.