Introduction to Databricks notebooks

Notebooks are a common tool in data science and machine learning for developing code and presenting results. In Azure Databricks, notebooks are the primary tool for creating data science and machine learning workflows and collaborating with colleagues. Databricks notebooks provide real-time coauthoring in multiple languages, automatic versioning, and built-in data visualizations.

With Azure Databricks notebooks, you can:

Import and run an example notebook

The Azure Databricks documentation includes many example notebooks that are intended to illustrate how to use Databricks capabilities. To import one of these notebooks into a Databricks workspace:

  1. Click Copy link for import at the upper right of the notebook preview that appears on the page.

    Copy link for notebook

  2. In the workspace browser, navigate to the location where you want to import the notebook.

  3. Click the downward-pointing arrow and select Import from the menu.

    Navigate workspace

  4. Click the URL radio button and paste the link you just copied in the field.

    Import notebook from URL

  5. Click Import. The notebook is imported and opens automatically in the workspace. Changes you make to the notebook are saved automatically. For information about editing notebooks in the workspace, see Develop code in Databricks notebooks.

  6. To run the notebook, click Run all button at the top of the notebook. For more information about running notebooks and individual notebook cells, see Run Databricks notebooks.

To create a new, blank notebook in your workspace, see Create a notebook.

Notebook orientation

Learn about the notebook interface and controls

Start using Databricks notebooks

Advanced material