solara icon indicating copy to clipboard operation
solara copied to clipboard

Fixes pandas dataframe transpose display error

Open SarthakNikhal opened this issue 10 months ago • 4 comments

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 avatar Apr 22 '24 00:04 SarthakNikhal

@maartenbreddels Completed the changes.

SarthakNikhal avatar Apr 27 '24 01:04 SarthakNikhal

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).

iisakkirotko avatar Apr 30 '24 07:04 iisakkirotko

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

SarthakNikhal avatar May 05 '24 01:05 SarthakNikhal

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!

iisakkirotko avatar May 08 '24 07:05 iisakkirotko