I am using pandas 1.5.3 in Flask. This code creates a sticky index column but not sticky column headers:
bigdf = pd.DataFrame(np.random.randn(100, 100))
dfhtml = bigdf.style.set_sticky(axis="index").set_sticky(axis="columns").to_html()
dfhtml = Markup(dfhtml)
You can see that the index column freezes when I scroll horizontally but the column headers don't freeze.
Weird thing is I have another DF in another identical environment with multi-index column headers it seems to work!
I have searched and found lots of comments on this problem associated with Jupyter notebooks. Am I missing something obvious?
