python-sprints / dataframe-summit

Materials for the dataframe summit at EuroSciPy 2019
6 stars 1 forks source link

Reuse pandas components in other libraries #1

Open datapythonista opened 5 years ago

datapythonista commented 5 years ago

In pandas 0.25 we are decoupling the pandas visualization from the core pandas. This will make it possible to plot in a native way using third-party libraries. For example:

import pandas
pandas.set_option('plotting.backend', 'hvplot')
pandas.Series([1, 2, 3]).plot()

But at the same time, this will allow libraries replicating the pandas API to reuse the Matplotlib backend deployed with pandas, as well as the third-party backends.

While pandas has historically been implemented as a "batteries include" dataframe library, splitting some parts like the visualization, can help other libraries replicating the pandas API reuse components and not have to implement everything from scratch.

Are there other components that would be useful decoupling from the pandas core? Some candidates: