Skip to content

Conversation

@attack68
Copy link
Contributor

This allows you to quickly make the index and/or column headers stick in place when scrolling in HTML.
Additional args allow the control of subselecting specific multiindex levels and controlling the width /or height of the sticking elements.

set_sticky.mov
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor comment, ping on green.

Other enhancements
^^^^^^^^^^^^^^^^^^
-
- Added :meth:`.Styler.set_sticky` to make index and column headers permanently visible in HTML frames (:issue:`29072`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can stick this in 1.3 is ok

@jreback jreback added this to the 1.3 milestone Jun 17, 2021
@jreback jreback added the Styler conditional formatting using DataFrame.style label Jun 17, 2021
@jreback jreback merged commit fce7f9e into pandas-dev:master Jun 17, 2021
@jreback
Copy link
Contributor

jreback commented Jun 17, 2021

thanks @attack68

@jreback
Copy link
Contributor

jreback commented Jun 17, 2021

@meeseeksdev backport 1.3.x

@lumberbot-app
Copy link

lumberbot-app bot commented Jun 18, 2021

Something went wrong ... Please have a look at my logs.

jreback pushed a commit that referenced this pull request Jun 18, 2021
…d column headers in HTML frame (#42096) Co-authored-by: attack68 <24256554+attack68@users.noreply.github.com>
@attack68 attack68 deleted the sticky_headers branch June 18, 2021 05:09
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
@ShawnZhong ShawnZhong mentioned this pull request May 26, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Styler conditional formatting using DataFrame.style

2 participants