pyopenms_viz icon indicating copy to clipboard operation
pyopenms_viz copied to clipboard

Add Support for Polars Dataframes

Open singjc opened this issue 9 months ago • 3 comments

The current pyopenms_viz implementation was built with the idea of extending pandas .plot method. It would be nice to add support for polars dataframes as well. There is an initial exploratory draft PR here. This approach tries attempts to create a unified interface for both pandas and polars dataframes, so that we don't have change/adapt the existing API for pyopenms_viz. This is a bit more complicated though, since there are certain functions where there is no equivalent between pandas and polars.

If you are interested in this, you can either work of the current PR, or if you can think of a better approach to support both pandas and polars, that would be great as well.

singjc avatar Mar 05 '25 15:03 singjc

@singjc I am interested, will work on the draft PR

definitelynotchirag avatar Mar 06 '25 18:03 definitelynotchirag

Hi there,

I am interested in sighting this issue,

and i would be contributing to it with any conflict.

Thank You

SanjayUG avatar Mar 18 '25 12:03 SanjayUG

I had updated and solved the issue,

Check it once and welcome to feedback.

SanjayUG avatar Mar 18 '25 12:03 SanjayUG