solara
solara copied to clipboard
Fixes pandas dataframe transpose display error
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.
@maartenbreddels Completed the changes.
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).
Done. I did not know about pre-commit. Thanks!
Nice, thanks a lot @SarthakNikhal!
I think the changes to .pre-commit-config.yaml
and to the packages/solara-widget-manager8
directory need to be reverted for CI to pass, otherwise this looks good to me!