Jupyterlab extension to browse tabular data files (Parquet, Excel, CSV, TSV) with filtering and sorting capabilities
Project description
jupyterlab_tabular_data_viewer_extension
View and browse Parquet, Excel, CSV, and TSV files directly in JupyterLab. Double-click any .parquet, .xlsx, .csv, or .tsv file to open it in a simple, spreadsheet-like table view - no code required. Navigate through your data, inspect values, and explore the structure of your tabular data files with interactive column resizing and advanced filtering capabilities.
Opening files: Right-click any supported file and select "Tabular Data Viewer" from the "Open With" menu, or simply double-click to open with the default viewer.
Column statistics: Hover over any column header to reveal an info icon, click it to view comprehensive statistics.
Context menu: Right-click any row to copy data as JSON.
Features
Supported File Formats:
- Parquet files (.parquet) - Full support with efficient columnar data reading
- Excel files (.xlsx) - Reads first worksheet only. Excel files must be simple tabular data without merged cells, complex formulas, or advanced formatting. Files with these features may not display correctly or fail to load
- CSV files (.csv) - Comma-separated values with UTF-8 encoding (fallback to latin1)
- TSV files (.tsv) - Tab-separated values with UTF-8 encoding (fallback to latin1)
Core viewing and navigation:
- Simple table display showing your data in familiar spreadsheet format
- Column headers with field names and simplified datatype indicators
- Interactive column resizing - drag column borders to adjust width independently
- Progressive loading - starts with 500 rows, automatically loads more as you scroll
- File statistics (column count, row count, file size) at a glance
- Fixed status bar remains visible during horizontal scrolling
- Handles large files efficiently with server-side processing
Advanced filtering and sorting:
- Column sorting with three-state toggle (ascending, descending, off)
- Per-column filtering with substring or regex pattern matching
- Case-insensitive search option
- Numerical filters supporting comparison operators (
>,<,>=,<=,=) - Clear filters functionality to reset all active filters
- Multiple filters work together to narrow down results
Additional features:
- Column statistics modal - View comprehensive statistics including data type, row counts, null values, unique counts, and type-specific metrics (numeric: min/max/mean/median/std dev/outliers; string: most common value/length stats; date: earliest/latest dates). Copy statistics as JSON with one click
- Right-click context menu on rows to copy data as JSON
- Configurable file type support via Settings - Enable/disable Parquet, Excel, or CSV/TSV handling
- All features work seamlessly across all supported file formats
Installation
Requires JupyterLab 4.0.0 or higher.
pip install jupyterlab_tabular_data_viewer_extension
Uninstall:
pip uninstall jupyterlab_tabular_data_viewer_extension
Configuration
Configure file type support through JupyterLab Settings:
- Open Settings → Settings Editor
- Search for "Tabular Data Viewer Extension"
- Configure options:
- Enable Parquet files - Default: enabled
- Enable Excel files - Default: enabled
- Enable CSV files - Default: enabled
- Enable TSV files - Default: enabled
When a file type is disabled, files open with JupyterLab's default handler instead.
Troubleshooting
Verify both extension components are enabled if the extension doesn't work:
# Check server extension
jupyter server extension list
# Check frontend extension
jupyter labextension list
Both commands should show jupyterlab_tabular_data_viewer_extension as enabled. Reinstall if either is missing or disabled.
Development Setup
Requires NodeJS for building TypeScript frontend. Uses jlpm (JupyterLab's pinned yarn version) for consistency.
Initial setup:
# Create virtual environment
python -m venv .venv
source .venv/bin/activate
# Install in editable mode
pip install --editable ".[dev,test]"
# Link frontend and enable server extension
jupyter labextension develop . --overwrite
jupyter server extension enable jupyterlab_tabular_data_viewer_extension
Development workflow:
Use two terminals for efficient development:
- Terminal 1:
jlpm watch(auto-rebuild on file changes) - Terminal 2:
jupyter lab(run development instance)
Refresh browser after changes to see updates. Build generates source maps for debugging.
Enable deeper debugging with unminimized JupyterLab build:
jupyter lab build --minimize=False
Removing development installation:
jupyter server extension disable jupyterlab_tabular_data_viewer_extension
pip uninstall jupyterlab_tabular_data_viewer_extension
Then delete the jupyterlab_tabular_data_viewer_extension symlink from your labextensions directory (find with jupyter labextension list).
Testing
Three-tier testing strategy: Python backend, TypeScript frontend, and integration tests.
Python tests (pytest with coverage):
pip install -e ".[test]"
jupyter labextension develop . --overwrite
pytest -vv -r ap --cov jupyterlab_tabular_data_viewer_extension
TypeScript tests (Jest):
jlpm
jlpm test
Integration tests (Playwright + Galata): Simulates real user interactions to validate complete workflows. See ui-tests README for detailed instructions.
Packaging and Release
See RELEASE.md for instructions on building distributable packages and publishing releases.
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
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 jupyterlab_tabular_data_viewer_extension-1.2.34.tar.gz.
File metadata
- Download URL: jupyterlab_tabular_data_viewer_extension-1.2.34.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b20493925d91dce7ca5c1f6211c17731c044a3405c17e356432f3759ed5cc439
|
|
| MD5 |
0cabc99435b41b1d84dfd1c0014979b6
|
|
| BLAKE2b-256 |
2633acdbe0e659c25e24c06b18880bae712aaf9ed24687c5df8919cd54674ab7
|
File details
Details for the file jupyterlab_tabular_data_viewer_extension-1.2.34-py3-none-any.whl.
File metadata
- Download URL: jupyterlab_tabular_data_viewer_extension-1.2.34-py3-none-any.whl
- Upload date:
- Size: 36.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e377a765f442a254c61d0f72a37da4f782e575085bd5b032beb28e1aa9862655
|
|
| MD5 |
811c6712e5f2ef207ec1d739dbd0778d
|
|
| BLAKE2b-256 |
db2ac6cb2700fee6d13195277b6fcb60c8993b21d97a048365fb2596e765cf71
|