Skip to main content

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

  1. Open a notebook in JupyterLab
  2. Click the Variables button in the notebook toolbar (spreadsheet icon)
  3. The Variable Explorer opens in a separate browser window
  4. Run cells — the variable list updates automatically
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

variable_explorer-0.2.0-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file variable_explorer-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for variable_explorer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efb578efe575a9a3acc8b86a79fc747d9fe57e52a6db2dc560e55c67ba3cf60e
MD5 626c9b3bd5bb3000705e768580b35a05
BLAKE2b-256 0e64286a8d0c4c175fc1e40b9f258d306e1bed7e34e764ce1939fe94e1567afe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page