/altair_pandas

Altair backend for pandas plotting

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

altair_pandas

build status Code style: black

Altair backend for pandas plotting functions.

Note: this package is a work in progress

Installation

Altair pandas backend works with pandas version 0.25.1 or newer.

$ pip install git+https://github.com/altair-viz/altair_pandas
$ pip install -U pandas

Usage

In a Jupyter notebook with Altair properly configured:

import pandas as pd
import numpy as np
pd.set_option('plotting.backend', 'altair')  # Installing altair_pandas registers this.

data = pd.Series(np.random.randn(100).cumsum())
data.plot()

Altair-Pandas Visualization

The goal of this package is to implement all of Pandas' Plotting API