raphaelblg
Databricks Employee
Databricks Employee

Hello @pjv , 

Python code will run solely on the driver node, for this case only the driver compute matters. 

If you're submitting any pyspark transformations or actions through your code it will generate spark plans that will be later executed via the executors. 

Best regards,

Raphael Balogo
Sr. Technical Solutions Engineer
Databricks