Pyspark execution error

Kanti1989
New Contributor II

I am getting a error message when executing a simple pyspark code. Can anyone help me with this. 

Kanti1989_0-1713522601530.png

 

Lakshay
Databricks Employee
Databricks Employee

The error message says "system cannot find the file specified". Could you check in the error message which file it is complaining about?

Kanti1989
New Contributor II

There is no file, it's a harcoded dataset.

Lakshay
Databricks Employee
Databricks Employee

Have you checked the error message?

AmanSehgal
Honored Contributor III

Could you please share the entire error message?

Are you running the code locally or on databricks?