ubergarm

sui generis, linux, python, devops, robotics, polyamory, data custodian

Visualizing python dataframes in jupyter notebook with Altair

2015-12-12 data science ubergarm
Finally, an easy way to turn Pandas DataFrames into sorted bar charts using brewer color schemes! It took a little playing around and it isn’t quite perfect yet, but here is a quick example of how to turn a Series or DataFrame into a lovely sorted stacked bar chart. References altair palettable jupyter notebook Run Jupyter Container Running as root allows you to !pip install or !apt-get install dependencies. Continue reading