DOC: Sticky Headers in Table Visualization is broken in v1.5.0

This issue has been created since 2022-09-19.

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/pandas-docs/version/1.5.0/user_guide/style.html#Sticky-Headers

Documentation problem

Here is how the DataFrame looks in v1.5.0 documentation:
image

Here is how it looked in v1.4.4 documentation:
image

I'm using Firefox 104

Suggested fix for documentation

It seems that pydata-sphinx-theme.css is applying width: fit-content; to all tables. This should be overridden for this wide table.

This seems to be related to #48285

WooilKim wrote this answer on 2022-09-20

Let me handle this.

WooilKim wrote this answer on 2022-09-20

take

WooilKim wrote this answer on 2022-09-20

I have a question.
Where can I find the document file in the repository?
I can not find it in docs directory.
Thanks.

attack68 wrote this answer on 2022-09-21

pandas/docs/source/user_guide/style.ipynb

attack68 wrote this answer on 2022-09-21

It seems like the whole notebook is mishandled, not just set_sticky.

WooilKim wrote this answer on 2022-09-21

@attack68
Thanks. I agree.

WooilKim wrote this answer on 2022-09-22

@attack68
I'm in hard time finding the css "fit-content". I think it is not in the style.ipynb file.
Can you give me an advice which file should I look into?
Thanks.

More Details About Repo
Owner Name pandas-dev
Repo Name pandas
Full Name pandas-dev/pandas
Language Python
Created Date 2010-08-24
Updated Date 2022-09-29
Star Count 35374
Watcher Count 1122
Fork Count 15034
Issue Count 3579

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Protobuf decode absent values as default 0 2022-09-05 2022-09-18
typo in zpy/render.py 1 2021-10-14 2022-08-06
Package Sim Notebook 0 2021-07-26 2022-07-30
Cannot create COCO annotations when RGB and Segmentation images are in Separate folder 4 2021-08-17 2022-05-09
Segmentation taking more and more time as my script is running 2 2021-08-17 2022-05-09
Coupling of XBraid with an Eigen-based code 2 2021-01-16 2022-09-12
LSP configuration for ale 2 2022-01-14 2022-08-26
Add build status badge 0 2021-07-04 2022-09-23
خطا در کنسول بعد از انتخاب تاریخ 5 2022-08-16 2022-09-10
ISSUE: keymaster_lock_state_changed doesn’t fire for Z-Wave operation 7 2021-12-08 2022-08-08
np.float() is deprecated in NumPy 1.20, which is used in misc.py 1 2021-02-23 2022-08-16
ESM config w/ `.mjs` not loadable? 1 2022-04-08 2022-09-01
How to call useCall function recursively by using usedapp in react 5 2022-03-02 2022-08-27
Bug: TypeError: this.props.screen is not a function 4 2021-11-19 2022-09-22
other source code ? 0 2021-11-25 2022-01-16
Failure on M1 Mac: unexpected signal during runtime execution 5 2021-05-24 2022-07-25
[Languages]Improving Accessibility With Prefers-Reduced-Motion 1 2021-12-23 2022-08-27
Google requests "updated browser" for new sign-ins 5 2020-04-23 2022-09-27
Icons disappearing after wallpaper is applied 3 2021-08-03 2022-09-29
[Feature Request] Expose _chart or provide update function 10 2022-04-07 2022-08-29
Multiline bolded statement loses highlighting 1 2022-02-07 2022-09-18
uploadbank.com [Anti-Adblock] 10 2021-10-28 2022-08-14
[cmake] use generated SDL_config.h to build SDLmain static lib 0 2021-10-12 2022-09-07
Work on the design fixes of the web app. 0 2021-03-15 2022-09-19
Add more metrics to monitor server-side copy 0 2022-04-14 2022-08-05
Addin stopped working since RStudio upgrade 2 2021-02-05 2022-09-25
Assembly notifications API 0 2017-05-16 2022-07-28
.Net Framework vs .Net Core might be confusing 1 2022-09-10 2022-09-15
Are Ramsey\Uuid's compatible with PhpFileCache? 8 2018-11-08 2022-09-14
Invoke-PnPTenantTemplate : One of the identified items was in an invalid format. 2 2022-01-25 2022-09-04
cmake 工程include path 重排序问题【4.11】 3 2022-07-06 2022-09-29
HEVC software encoder cannot output timecode SEI correctly during interlace encoding 2 2021-08-24 2022-07-24
Using a nested block (NEO Field) in a Gatsby GraphQL query throws error message. 3 2021-05-19 2022-09-18
[system] Missing documentation in flex-box 4 2021-10-14 2022-09-26
Table of contents should include headers in generated HTML 0 2022-06-02 2022-09-21
Chore: Fix flaky e2e test "dashboard-templating.spec" 1 2022-09-27 2022-09-21
Chore: Move Org sqlstore to org service and store 0 2022-09-27 2022-09-21
How can get comments of specific post ? 3 2021-06-06 2022-09-02
getting an error jasmine.getEnv is not a function 0 2022-05-10 2022-05-04
Table: Investigate bring in reactabular-resizable 3 2022-03-15 2022-08-12
在tableview列表使用它滑动的时候卡顿 1 2022-08-04 2022-09-15
Error while finding module specification for 'azure.cli' (ModuleNotFoundError: No module named 'azure') 4 2022-03-22 2022-09-05
[v2] Role chaining with AWS SSO does not cache intermediate credentials 2 2022-05-18 2022-09-19
Link error 0 2016-05-27 2021-12-11
[Regression] The initial tabindex attribute is not restored after re-enabling the grid 1 2022-03-31 2022-08-16
typing_extensions.Literal isn't treated the same as typing.Literal 4 2022-09-13 2022-09-25
Plugins: plugin page shows update error 2 2022-03-07 2022-08-08
[Doc]: fix repo link 0 2022-01-20 2022-09-21
Attempt to invoke virtual method 'double java.lang.Double.doubleValue()' on a null object reference after Click Header back while the keyboard is open. 0 2022-06-13 2022-09-19
Test failed after update on 3.3.1 1 2022-09-08 2022-09-12