You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Polars is one of the recent Python library that has all the functionalities in Pandas while being much faster. However, as I looked at the documentation from both Polars library and matplotlib, I couldn't find anything.
If polars library support is added to matplotlib, it becomes much easier and faster to create visualisations without losing time and the data frame becomes much tidier.
Proposed solution
The solution should allow a support for Polars library where an extra line _polars to visualisation so that we can use Polars data frames
The text was updated successfully, but these errors were encountered:
We don't officially support pandas, so I doubt we are officially going to support polars. However if polars data frames behave properly when using no.asarray then they should work the same as pandas data frames in our methods. Did you test to see if they work?
If you mean df.plot type methods that is totally in pandas court, but if they go that route they should come talk to us.
In the current state of Matplotlib, we need things as numpy arrays (and will do that conversion internally via np.asarray as Jody said) because at the bottom we need to actually have all of the array data materialized in our code. If polars supports this it should "just work" and if not, I think that the work needs to happen in polars to support that as it is very very unlikely that we are going to thread a polars dependency through the entire code base.
I am going to close this and track this work in #16402 and #22645 .
Problem
Polars is one of the recent Python library that has all the functionalities in Pandas while being much faster. However, as I looked at the documentation from both Polars library and matplotlib, I couldn't find anything.
If polars library support is added to matplotlib, it becomes much easier and faster to create visualisations without losing time and the data frame becomes much tidier.
Proposed solution
The solution should allow a support for Polars library where an extra line _polars to visualisation so that we can use Polars data frames
The text was updated successfully, but these errors were encountered: