Check out Athena’s Notebook Analyst!

Athena Notebooks bring the power of Jupyter notebooks directly into the Athena platform, enhancing your data analysis and coding experience. These notebooks allow you to conduct in-depth, AI-powered analyses that contain interactive code, equations, visualizations, and models.

Learn how to open a Python and an R Notebook in Athena!
Explore Athena’s visibility and capabilities for Notebooks here!

Key Features

Chat with Athena in the sidebar

You can collaborate with Athena while you work. She can “see” your notebook and your currently selected cell. So if you are stuck on something, just pop open the sidebar and ask for help or to write the code for you!

Call Athena directly in a notebook cell

In Jupyter notebooks the double percentage signs ”%%” are cell magic commands. You can use Athena directly by using the %%ai athena or %%ai athena -f code command followed by your prompt your request.

For Jupyter commands to run they must be the very first line of the cell.

Enter the following code in a new cell of your Notebook and press Shift+Enter.

Text Output

%%ai athena

Generate steps to predict trends in lap times from given F1 race dataset.

Directly load uploaded Excel/CSV datasets within Notebooks

Effortlessly manage your datasets by uploading Excel or CSV files as Athena assets and loading them into Athena Notebooks with a single command via the chat sidebar.

Use the Athena SDK

We provide an SDK that exposes some of Athena’s capabilities. The SDK allows you to generate conversation messages, perform web searches, use tools and workflows, and more. You can use that SDK directly within Athena Notebooks, eliminating the need to enter or setup your API Key.

Visit the full SDK documentation: Athena SDK Quickstart.

Was this page helpful?