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.
Release files for variable-explorer 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| variable_explorer-0.9.0.tar.gz | 447.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| variable_explorer-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / variable_explorer-0.9.0.tar.gz
| Download URL | variable_explorer-0.9.0.tar.gz |
|---|---|
| Size | 447.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4053e113028ca176137ed04e2bfd5db37d73a224947ea50b8b3808c7ccffc57a
|
|
BLAKE2b-256 checksum How to use checksums |
d1a94f2a2e75a8fd3a9cd7e49740057ff22e6e6b63fce673558dcb1bc1a5d2b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / variable_explorer-0.9.0-py3-none-any.whl
| Download URL | variable_explorer-0.9.0-py3-none-any.whl |
|---|---|
| Size | 700.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b89e8eeaecdf2f4f193d4d9401df71ba5d8aabe0976413892a01d60b53489b43
|
|
BLAKE2b-256 checksum How to use checksums |
45efeff760a19ba864912beaf0e65b9a0ba0981b7dab81d1a6066927fb304dfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|