adhoc-exploration-notebooks
Installation
SKILL.md
Ad-Hoc Exploration Notebook Patterns
Overview
Every data product should include exploration notebooks in two formats to support different development workflows: Databricks workspace format (.py) for interactive use in Databricks UI, and Jupyter format (.ipynb) for local development with Databricks Connect. Magic commands (%pip, %sql, dbutils.library.restartPython()) only work in Databricks workspace, not with Databricks Connect or local execution.
Quick Start (30 minutes)
Goal: Create interactive notebooks for data exploration (works both in Databricks and locally).
What You'll Create:
adhoc_exploration.py— Databricks workspace version (with magic commands)adhoc_exploration.ipynb— Local Jupyter version (Databricks Connect)- Standard helper functions (list tables, explore, check quality, compare, show properties)
Before You Begin: Fill in the Requirements Template with your catalog, schemas, and key tables.