A Spyder/Stata-grade variable explorer for JupyterLab
Project description
Variable Explorer for JupyterLab
A Spyder/Stata-grade variable explorer for JupyterLab 4. Opens in its own window so you can put it on a second monitor.
Install
pip install variable-explorer
That's it. Restart JupyterLab if it's running.
Usage
- Open a notebook in JupyterLab
- Click the Variables button in the notebook toolbar (spreadsheet icon)
- The Variable Explorer opens in a separate browser window
- Run cells — the variable list updates automatically
- Click any DataFrame, list, or dict to view its contents
Features
- Detached window — lives outside JupyterLab, move it to another monitor
- AG Grid — fast virtual scrolling, handles large DataFrames
- Column sorting — click headers to sort (kernel-side, fast even on millions of rows)
- Inline histograms — distribution charts in every column header with hover tooltips
- Conditional formatting — numeric heatmaps, boolean color-coding
- Metadata sidebar — column types, null counts, stats (like Stata's Variable Manager)
- Properties panel — dataset shape, memory usage, dtypes
- Cell editing — double-click to edit values, synced back to the kernel
- Resizable panels — drag the dividers between panels
- Auto-refresh — variable list updates after every cell execution
- Supports many types — DataFrames, Series, numpy arrays, lists of dicts, dicts of lists, nested structures
Requirements
- JupyterLab 4.x
- Python 3.10+
- pandas (for DataFrame viewing)
Development
# Clone and install in development mode
git clone https://github.com/variable-explorer/variable-explorer.git
cd variable-explorer
pip install -e .
# Rebuild after making changes
jlpm install
jlpm build
pip install -e .
Requires Node.js 18+ for development builds.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
variable_explorer-0.8.0.tar.gz
(450.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file variable_explorer-0.8.0.tar.gz.
File metadata
- Download URL: variable_explorer-0.8.0.tar.gz
- Upload date:
- Size: 450.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bda98a11689e0b66901ee4aeb7d9ced8f1b6cc714c49ac0c1697f5753cc13b7e
|
|
| MD5 |
16c1ea5165957f5e22ed0711f47b2899
|
|
| BLAKE2b-256 |
efb591671d8c450a9104d83cd4fa17eaff3c065916d3a9d4c976ec0db6425c67
|
File details
Details for the file variable_explorer-0.8.0-py3-none-any.whl.
File metadata
- Download URL: variable_explorer-0.8.0-py3-none-any.whl
- Upload date:
- Size: 703.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eb4277b1c6a30f7be61fdf9739f156c8fbd71e22a2bbd0bc598a2283d9e8e78
|
|
| MD5 |
376228c26a92b7d371f759c95c5dc259
|
|
| BLAKE2b-256 |
e8b117a390112efb10be39e88259fd59940fe5a92dff6f3ee1737194062a08fe
|