Skip to main content

An IPython/Jupyter notebook widget for quick visualization of Pandas dataframes

Project description

# autovega

autovega is an IPython/Jupyter notebook widget for quick visualization of Pandas dataframes using [Vega](https://vega.github.io/) and [Altair](https://altair-viz.github.io/).

## Usage

Import autovega and call register_renderer at the top of your notebook.

`python import autovega autovega.register_renderer() `

Now, whenever Jupyter displays a dataframe, it will also render a GUI for choosing one of several plot types and encodings.

Alternatively, to use the widget selectively (without registering it as the default dataframe renderer in Jupyter), use the display_dataframe function to wrap your dataframes.

`python autovega.display_dataframe(df) `

## Installation

Follow [Altair’s instructions](https://altair-viz.github.io/getting_started/installation.html) for installing and configuring altair and vega3. Then install autovega:

`bash pip install autovega `

Or, for the development version:

`bash pip install -e git+https://github.com/baldwint/autovega.git#egg=autovega `

## Prior Art

This module is inspired by [autovizwidget](https://github.com/jupyter-incubator/sparkmagic/tree/master/autovizwidget), which provides a similar functionality using Plotly as backend.

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

autovega-0.1.dev0.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file autovega-0.1.dev0.tar.gz.

File metadata

File hashes

Hashes for autovega-0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 666a17cbf2a19171535c05e03be10214544952190397695f5e11762eb82c52d3
MD5 7a5bc9a85cf112fbf2985351401738fe
BLAKE2b-256 eaaaecf612c935b82f3237180895ef962c27603a856ebe8a9df26f3673c558d0

See more details on using hashes here.

Supported by

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