Scrollbar missing for pandas correlation windows

Hi Datalore,

there is no scrollbar for correlation computation which makes it impossible to read.

code:
corr = df.corr()
corr.style.background_gradient(cmap=“YlOrBr”).set_precision(2)

Please have a look:

expected (jupyter):

[Here, I wanted to add the Datalore picture, but:
“Sorry, the new users can only add one embedded media file” (What is the logic behind it?)]

How can we view the whole heat-map for pandas correlation?

Hi Marcell.

Looking at your code I would suggest that the problem is caused by dataframe styling. If you remove styling, then scrolling should work.
I already reported this bug to Datalore in March - https://datalore-forum.jetbrains.com/t/dataframe-styling/785. Seems like no solution yet.

1 Like

@Marceli , @sergei is right (thank you!), unfortunately dataframe styling isn’t correctly supported at the moment. I just upvoted the corresponding issue in our tracker and will ask the devs to pay attention to it.

Thanks for the heads up!

Hello again!

The fix has been deployed earlier this week, now the produced table should have a horizontal scrollbar if needed. Please let us know if you are still experiencing any problems there.

1 Like

Hi
@igro, Thanks! It works! AWESOME!

1 Like