Running Code
To execute code cells, your notebook needs a kernel — a computational engine provided by a project.Connecting to a Project
- Open your notebook
- Select Organization
- Select Project
Shift + Enter.
Execution Methods
| Method | Shortcut | Behavior |
|---|---|---|
| Run cell | Shift + Enter | Execute and select next |
| Run in place | Ctrl/Cmd + Enter | Execute without moving |
| Run and insert | Alt + Enter | Execute and add cell below |
| Run all | Toolbar button | Execute all cells |
Cell Outputs
Alph renders various output types:- Text & data: print statements, return values, dataframes
- Visualizations: matplotlib, plotly, seaborn, altair
- Rich media: LaTeX, images, HTML, widgets
- Errors: tracebacks with highlighted source
Kernel Management
Restart kernel: Clear all variables and reset state. Use after installing packages. Interrupt: Stop a running cell using the toolbar button. Kernel states:- Idle — ready to execute
- Busy — running code
- Dead — crashed, needs restart
Installing Packages
Troubleshooting
Kernel won’t connect:- Check that the project is running
- Disconnect other notebooks using the kernel
- Restart the project
- Delete large unused variables with
del - Process data in chunks
- Upgrade compute type
- Use vectorized operations (pandas/numpy)
- Profile code to find bottlenecks
- Consider GPU compute for ML workloads