Why is the file I have on my computer not found?
in
The Complete Data Visualization Course with Python, R, Tableau, and Excel
/
Bar Chart - Python - How to Create a Bar Chart
I followed the lecture and the file I should be working with is not found.
1 answers ( 0 marked as helpful)
Hi Ferdinand,
thanks for reaching out! As you're using a Jupyter Notebook, you'd need to save the file in the same directory as your Jupyter Notebook for this exercise, otherwise you'd need to add the file path when you're reading the csv using pandas. In the second scenario, make sure you put the file path using / instead of \, for example
data = pd.read_csv("C:/users/data/bar-chart.csv")
If you still get any errors in the code, please let me know and include some screenshots of the code alongside the error messages.
Best,
365 Eli