🧰Databricks Notebook
Also known as Databricks Notebooks
A web page in Databricks where you write and run code in small cells.
Think of it like
It is like a lab notebook. You write a step, try it, and see what happened right under it.
Example
An analyst loads orders with Python in one cell. In the next cell she switches to SQL and counts orders by country. The chart appears under it.
Why it matters
Definition
Example code
sql
%sql
SELECT country, COUNT(*) AS orders
FROM main.sales.orders
GROUP BY countryCommon mistake
Key takeaways
- 1Cells. Small blocks, each with its result.
- 2Many languages. Python, SQL, Scala and R.
- 3Shared. Several people edit at once.