---
title: Databricks notebooks
description: Databricks notebooks are collaborative, multi-language documents for data science and machine learning, with real-time coauthoring and built-in visualizations.
canonical_url: https://docs.databricks.com/aws/en/notebooks/
---

# Databricks notebooks

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

![Demo of Databricks notebook](https://assets.docs.databricks.com/_static/images/notebooks/notebook-demo.gif)

## Get started with notebooks

Get hands-on experience with step-by-step tutorials that guide you through common use cases.

| Topic                                                                                                                        | Description                                                                                                                                                 |
| ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Query and visualize data from a notebook](https://docs.databricks.com/aws/en/getting-started/quick-start.md)                | Learn data science basics by using a notebook to query and visualize sample data stored in Unity Catalog using SQL, Python, Scala, and R.                   |
| [Import and visualize CSV data from a notebook](https://docs.databricks.com/aws/en/getting-started/import-visualize-data.md) | Import data from a CSV file into Unity Catalog, load data into a DataFrame, and visualize data using Python, Scala, and R.                                  |
| [EDA techniques using Databricks notebooks](https://docs.databricks.com/aws/en/notebooks/eda-tutorial.md)                    | Learn the basics of conducting exploratory data analysis (EDA) using Python in a notebook, from loading data to generating insights.                        |
| [End-to-end classic ML models](https://docs.databricks.com/aws/en/mlflow/end-to-end-example.md)                              | Complete tutorial for training classic machine learning models, including data loading, visualization, hyperparameter optimization, and MLflow integration. |

## Develop and run notebooks

Learn the fundamentals of creating and using notebooks in your Databricks workspace.

| Topic                                                                                       | Description                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Basic editing](https://docs.databricks.com/aws/en/notebooks/basic-editing.md)              | Learn the basics for how to effectively use and edit notebooks, including cell types, keyboard shortcuts, and essential editing features.                                                                                                       |
| [Develop code in notebooks](https://docs.databricks.com/aws/en/notebooks/notebooks-code.md) | Write and run code using Python, SQL, Scala, and R with syntax highlighting and IntelliSense.                                                                                                                                                   |
| [Run notebooks](https://docs.databricks.com/aws/en/notebooks/run-notebook.md)               | Run notebooks and individual cells with flexible compute options and execution controls.                                                                                                                                                        |
| [Use the Data Science Agent](https://docs.databricks.com/aws/en/notebooks/ds-agent.md)      | Custom-built for data science workflows, Genie Code can orchestrate multi-step workflows from a single prompt. Chat with the Data Science Agent to build an entire notebook for tasks like EDA, forecasting, and machine learning from scratch. |

## Collaborate and share your work

Work together with your team and share your results effectively.

| Topic                                                                                                 | Description                                                                         |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| [Import and export notebooks](https://docs.databricks.com/aws/en/notebooks/notebook-export-import.md) | Export notebooks in various formats and import notebooks from external sources.     |
| [Collaborate using notebooks](https://docs.databricks.com/aws/en/notebooks/notebooks-collaborate.md)  | Share notebooks, use comments, and collaborate in real-time with your team members. |
| [Dashboards in notebooks](https://docs.databricks.com/aws/en/notebooks/dashboards.md)                 | Build and share interactive dashboards directly from your notebook results.         |

## Debug and optimize your code

Ensure your notebooks run smoothly and efficiently.

| Topic                                                                                        | Description                                                                                                      |
| -------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| [Code help using Genie Code](https://docs.databricks.com/aws/en/notebooks/code-assistant.md) | Get AI-assisted coding help to debug and write better code faster with intelligent suggestions and explanations. |
| [Debug notebooks](https://docs.databricks.com/aws/en/notebooks/debugger.md)                  | Use the interactive debugger to troubleshoot and fix issues in your notebook code.                               |
| [Unit testing](https://docs.databricks.com/aws/en/notebooks/testing.md)                      | Implement unit testing strategies to validate your notebook code and ensure reliability.                         |

## Popular pages

Explore commonly referenced topics and advanced features for working with notebooks.

| Topic                                                                                                           | Description                                                                                                 |
| --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [Databricks widgets](https://docs.databricks.com/aws/en/notebooks/widgets.md)                                   | Add interactive input parameters to your notebooks and dashboards using widgets.                            |
| [Notebook outputs and results](https://docs.databricks.com/aws/en/notebooks/notebook-outputs.md)                | Manage cell outputs, work with results tables, apply filters, and download data from your notebook results. |
| [Orchestrate notebooks and modularize code](https://docs.databricks.com/aws/en/notebooks/notebook-workflows.md) | Learn techniques for orchestrating notebook workflows and modularizing code.                                |
| [Best practices](https://docs.databricks.com/aws/en/notebooks/best-practices.md)                                | Follow recommended practices for efficient and maintainable notebook development.                           |
