widgetti / solara

A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps
https://solara.dev
MIT License
1.6k stars 104 forks source link

Fixes pandas dataframe transpose display error #613

Open SarthakNikhal opened 2 weeks ago

SarthakNikhal commented 2 weeks ago

Fix for https://github.com/widgetti/solara/issues/526. Created a separate variable to store row names to display them correctly as per the index in the loop. Also, created a new function in utils to cater for getting list of row index names just like for columns.

SarthakNikhal commented 1 week ago

@maartenbreddels Completed the changes.

iisakkirotko commented 6 days ago

Hey @SarthakNikhal!

Looks like there are only two code quality errors left. Take a look at running pre-commit run --all-files to see them locally (this should also autofix the second one, at least).

SarthakNikhal commented 1 day ago

Done. I did not know about pre-commit. Thanks!