Any interest in supporting polars instead of just pandas?
I think in the plots.py functions there'd need to be a check if data is either pandas or polars and then _create_chart_data_agg would be for pandas and there'd be a _create_chart_data_agg_pl function that would do the same thing except from polars.
This is just an example, of course there are a bunch of other functions to contend with.
Hello @deanm0000, support of polars wasn't planned but I can check if it is easy to add.
I was thinking I'd work towards that end. That said, there's any easy way to do it which is to just check if the input is a polars dataframe and if it is convert it to pandas with the polars method .to_pandas(). That's probably not worth doing since users can just do it themselves. Instead I was thinking of using polars methods to serialize data for chartjs so that polars users don't rely on pandas at all.
To the extent you have luck with the other issue of things not rendering, it'd be something I'm interested in doing.
Hello @deanm0000,
At this time, I won’t be adding support for polars in ipychart as it would require significant changes to the codebase. Since Polars offers a to_pandas() method, using it with ipychart remains the most straightforward solution for now.
Please don’t hesitate to reach out if you encounter any issues or if you have any suggestions on how to improve ipychart!