Bokeh as a backend for Pandas

According to this recent blog post by Stack Overflow, Python is declared as the fastest-growing major programming language. 10% of its credit is considered to be due to the pandas library. One of the popular features of pandas is that it can directly plot the data it contains (in a Series or DataFrame).

When this feature was implemented, matplotlib was the standard plotting library in Python. But things changed, and now there are many great available libraries. One of the most popular ones is Bokeh.

Bokeh generates interactive visualization charts in the style of D3.js. Plotting pandas data in Bokeh is quite straight-forward. But it would be more efficient and consistent, if pandas could be configured for a different backend like Bokeh, and then use the current pandas methods to plot with your favorite library.

Pandas is already well prepared to be integrated with other backends. Having all the matplotlib logic in a directory plotting https://github.com/pandas-dev/pandas/tree/master/pandas/plotting. But some work needs to be done, adding a setting to define the backend, and further decoupling the plotting logic.

Also, a new package pandas-bokeh needs to be created, that can be called from the .plot() pandas methods. In this sprint we will code this new module (that can be later added to pandas), and we will send the pull request for the required pandas packages.

Sponsor logo

Thanks to Harvey Nash for hosting this event!

Harvey Nash is a global professional recruitment consultancy and IT outsourcing service provider. They are committed to delivering the very best talent and IT solutions to a broad base of international clients.

Pandas is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language.

More information about Pandas: https://pandas.pydata.org/

Set up instructions

Please follow the instruction in this link: https://python-sprints.github.io/pandas/guide/index.html

Information


RSVP: Click here

Level: All

Date: 4 October 2017

Time: 18:30

Address:
Harvey Nash
110 Bishopsgate,
London, EC2N 4AY, UK