Autonmis DOCS
Sign Up for FREE
  • Introduction
    • About Us
    • Key Differentiators
    • Free & Pricing Plans
    • General FAQs
  • Community
  • Getting Started
    • Create your first Connection
    • Create & Manage your first SQL Notebook
    • Create & Manage your first Python Notebook
    • Create & Manage your first Dashboard
  • Create your first Connection
    • Step 1: Navigate to the Connect Tab
    • Step 2: Supported Connection Types
    • Step 3: Add a Connection
    • Step 4: Verify DB/CS Connection
  • Create & Manage your first SQL Notebook
    • Create a SQL Notebook
    • Generate a SQL Notebook Using AI
    • Build a SQL Notebook Manually
  • Create & Manage your first Python Notebook
    • Creating a Python Notebook
    • Generate a Python Notebook Using AI
    • Build a Python Notebook Manually
  • Create & Manage your first Dashboard
    • Create a Dashboard from the Dashboard Tab
    • Create Dashboards from SQL Editor or SQL Notebook
      • Using SQL Editor
      • Using SQL Notebook
    • Manage the Dashboard
  • Mastering Data Queries with SQL Editor
    • Create a SQL Editor
    • Writing and Running SQL Queries
Powered by GitBook
On this page
  • Access the Python Notebook Editor
  • Inserting Code and Text Blocks
  • Adding Data Sources
  • Selecting Data for Import
  • Importing Data to the Notebook
  • Working with Code Blocks
  • Additional Features

Was this helpful?

  1. Create & Manage your first Python Notebook

Build a Python Notebook Manually

PreviousGenerate a Python Notebook Using AINextCreate & Manage your first Dashboard

Last updated 7 months ago

Was this helpful?

If you opt for the 'Build Manually' method, follow these steps:

Access the Python Notebook Editor

When the "Build Manually" option is selected, you will be directed to the main Python notebook editor. A default Python code block is automatically created, where you can begin writing and executing Python code to generate outputs.

Inserting Code and Text Blocks

As you navigate through the notebook, you can easily add more content using the following options located in the each code block:

  • + Python: Inserts a new Python code block.

  • + Text: Adds a text block to include notes or explanations.

  • + SQL: Allows you to insert SQL code blocks to query data directly within the notebook.

All changes are saved automatically to ensure no progress is lost during your work.

Adding Data Sources

On the left side of the notebook interface, the Data Sources panel is available to import databases or files. You can:

  • + Add Database: Connect to an external database.

  • + Add File: Upload files from your system. These are the accepted extensions: .csv, .xlsx, .json, .parquet

Selecting Data for Import

From the data source panel, you can select a database or file from your previously connected sources. If connecting to a database, select the appropriate table from the dropdown menu.

Importing Data to the Notebook

Once your database or file is selected, click the "Import to Notebook" button. This will automatically create a new Python code block on the right side of the editor, populated with the relevant code to load and work with your selected data.

Working with Code Blocks

  • Each code block provides options to:

    1. Run the query

    2. Modify variable names

    3. Use AI Copilot for suggestions (pencil icon)

    4. Hide the Code, move up/down, or delete the step

Additional Features

  • At the top of the notebook, you'll find CTAs:

    1. Publish or Share using the vertical ellipsis menu

    2. Run all code blocks

    3. Save the notebook (all changes are saved automatically)

    4. Notebook tab (default view)

    5. Storybook tab: Displays the notebook's analysis in narrative form

Upon clicking either option, a data source panel will open, following the same process used in of Creating Your First Connection.

Step 1