Skip to main content

Brunel Visualization For Jupyter/IPython Notebooks

Project description

https://raw.github.com/Brunel-Visualization/Brunel/master/brunel.png

Brunel defines a highly succinct and novel language that produces interactive data visualizations using pandas DataFrame objects. The language is well suited for both data scientists and more aggressive business users. The system interprets the language syntax and produces live visualizations directly within Jupyter notebooks.

Please report any issues on our Github site.

Dependencies

  • Brunel Visualization currently only works in IPython/Jupyter notebooks which must be installed prior to installing Brunel.

  • Java 1.7+ must be installed

  • It is likely that environment variable JAVA_HOME also needs to be properly set to the location of the Java installation.

Installation

pip install brunel

Note, if after installing the visualizations are not visible try installing using:

pip install brunel --user

Example

Sample code that reads data from a CSV file and creates a simple bar chart of averages using the Brunel magic function:

import pandas as pd
import brunel

cars = pd.read_csv("data/Cars.csv")

%brunel x(origin) y(horsepower) mean(horsepower) bar tooltip(#all) :: width=300, height=300, data=cars

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

brunel-0.8.0.zip (793.3 kB view hashes)

Uploaded Source

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