cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Training offerings
Explore discussions on Databricks training programs and offerings within the Community. Get insights, recommendations, and support from peers to maximize your learning experience and advance your skills in data analytics and machine learning.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Databricks Learning 02 - Working With Notebooks - Error when running code to read CSV

mikedcxx
New Contributor II

Hi,

I'm going through the Databricks course Get Started with Databricks for Machine Learning. When I run the following code in the 02 - Working With Notebooks notebook I get an error:

 

SELECT * FROM csv.`${DA.paths.datasets}/retail/customers.csv`
 
The error I receive is AnalysisException: [PATH_NOT_FOUND] Path does not exist: dbfs:/retail/customers.csv.; line 1 pos 14.
 
I have the proper permission set up according to the instructions in the notebook and installed everything in the notebook file provided on the course page. Does anyone know why this may be happening?

 

1 REPLY 1

Hi! Thanks for the response. Maybe you can clarify for me. Iโ€™m following this course: HTTPS://customer-academy.databricks.com/learn/course/1342/play/15169/demo-working-with-notebooks 

I imported the notebook using the import URL on that page. I assume that would also import the data used in the notebook. If it is part of the import then where does the data reside in databricks so I can use the correct path?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group