Skip to main content

A Databricks-like interactive display() function for Jupyter Notebooks, AWS Glue, Google Colab, and VS Code.

Project description

dbxplay

A Databricks-like interactive display() function for Jupyter Notebooks, AWS Glue, Google Colab, and VS Code.

Brings the beautiful, interactive table UI from Databricks into any Python notebook environment — with sorting, filtering, searching, customizable X/Y charting, data profiling, context menus, column resizing, CSV/Excel export, and more.

Features

Feature Description
🔍 Global Search Instant full-text search across all columns & values
↕️ Column Sorting Click column headers to sort ascending/descending
🔽 Column Filtering Per-column value checkbox dropdowns
📊 Custom Visualization Customizable X/Y axes & aggregations (COUNT, SUM, AVG, MIN, MAX)
📋 Data Profile Overview stats & pop-out closeable distribution charts
🎯 Filter by Value Right-click any cell → "Filter by this value"
🚫 Exclude Value Right-click → "Exclude this value"
📋 Copy as CSV/TSV/Markdown Right-click → Copy as → choose format
📥 Download CSV / Excel Top Table ∨ dropdown → Download
📐 Column Resizing Drag column borders to resize
📄 Side Panel Row detail view panel
🔢 Data Type Icons Automatic type badges (ABC, #, 1.2, T/F, 📅, {})
Zero Dependencies Self-contained HTML/CSS/JS — works everywhere

Installation

pip install dbxplay

Or install locally in editable mode:

pip install -e .

Quick Start

from dbxplay import display
import pandas as pd

df = pd.read_csv("your_data.csv")
display(df)

Supported Data Types

  • Pandas DataFrames
  • Polars DataFrames
  • PySpark DataFrames (auto-limited to prevent OOM)
  • Lists of dicts[{"a": 1, "b": 2}, ...]
  • Dicts of lists{"a": [1, 2], "b": [3, 4]}

Usage

from dbxplay import display

# Basic usage
display(df)

# With options
display(df, limit=500, title="My Data", height=400)

Parameters

Parameter Type Default Description
data DataFrame/list/dict (required) The data to display
limit int 1000 Max rows to render
title str "Table" Tab title in the top bar
height int None Fixed height in px (auto-sizes to ~520px)

Context Menu (Right-Click)

Right-click any cell to access:

  • Copy (⌘C)
  • Copy as → CSV, TSV, Markdown
  • Filter by this value
  • Exclude this value
  • Toggle side panel

License

MIT

Project details


Download files

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

Source Distribution

dbxplay-0.1.0.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

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

dbxplay-0.1.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file dbxplay-0.1.0.tar.gz.

File metadata

  • Download URL: dbxplay-0.1.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for dbxplay-0.1.0.tar.gz
Algorithm Hash digest
SHA256 86526c5475a1b727161f5ae3565232c2c7d11dab51d03044055adf490c3b415b
MD5 f3cd4f394c1c5dba09161ad4fce321a8
BLAKE2b-256 5a78b8547b3a3a02b8ac613ede5ea9a0e8cc57aac9f638576db68cb0fc19c851

See more details on using hashes here.

File details

Details for the file dbxplay-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dbxplay-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for dbxplay-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5d939c4c9dbc8d093b7f3af1d9e42115fb62e502166da744f86e91f461397b0
MD5 c6bac57a4c4b904e2da1a6c0d1d7c077
BLAKE2b-256 93d64f32dd702c11a11b7374e49a022fc31cc8451ab4b6266bbaefb0371d814b

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