PostHog rebuilds Notebooks with runnable SQL and Python cells
Brief
PostHog Notebooks now run SQL, Python, and Markdown cells in one place, with data passed between cells. The features are in beta and free to use.
Run connected analysis
- SQL cells run HogQL against PostHog data and synced data warehouse tables; Python cells run in a sandbox with pandas, numpy, scipy, scikit-learn, and matplotlib installed.
- Each cell outputs a named dataframe that other cells can read, enabling workflows such as querying with HogQL, transforming data in Python, and querying the result with SQL.
Availability and pricing
- The Notebook features are in beta and currently free to use.
- Once generally available, notebook sandboxes will be billed based on the specs of the node provisioned.
Generated by AI from the original article. Check the source for full details.