I'm facing a strange behavior with Google colab and pandas style. When applying a style to a dataframe on google colab, some of the basic styling is messed up: the table becomes smaller and more condensed, the highlight of every other row disappears, and the hover highlight of rows stops working.
I'm attaching a side-by-side picture of two screenshots: one from a regular Jupiter notebook, in which things are working fine, and another one from Google colab - in which styling messes up things.
The code is extremely simple:
df = pd.DataFrame(range(5)) # create a data frame
df # in a new cell - just show the dataframe
df.style.highlight_max() # again, in a new cell. Works in Jupyter notebook,
# doesn't work well on Google Colab.
Any help would be appreciated.