Open kdheepak opened 2 months ago
Hi Dheepak,
thanks for opening this issue. This, indeed, seems incorrect. Note that you can also use display(df) in Solara, which uses the same way of displaying the table, but it's not interactive. Do you feel like fixing this? A PR would be welcome!
Regards,
Maarten
Hi @maartenbreddels thanks for confirming. I'm happy to make a PR. I'll look into this week!
@maartenbreddels Can I work on this issue? @kdheepak Let me know if there's anything I could do
If you'd like to take this issue that'd be great! I didn't get a chance to dig into it too much unfortunately.
Hi @SarthakNikhal ,
sounds good. Please also look at https://github.com/widgetti/solara/pull/600 because that might interfere with your plans. I hope we can get that PR in soon, so we won't have much merge conflicts.
cheers,
Maarten
@maartenbreddels Created a pull request. Please take a look and let me know if there's further work to be done.
@maartenbreddels updated the function to handle type of iterable. You can review the changes now
@maartenbreddels Let me know if any further work is required for this
Here's the default display of a dataframe in a Jupyter notebook:
Here's how solara displays it:
In the second display of the transposed dataframe the row names should be
a, b, c, d
instead of0, 1, 2, 3
.