pandas-dev / pandas

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
https://pandas.pydata.org
BSD 3-Clause "New" or "Revised" License
43.83k stars 18k forks source link

Fix Bug: last column missing formatting in Latex (#52218) #60356

Closed corbanvilla closed 18 hours ago

corbanvilla commented 3 days ago

Redo of #60239 but using a feature branch this time :-)

attack68 commented 2 days ago

Ok I looked a little more at this. The original problem was phrased as not applying to the last column for a styling function that should apply to the whole row. However that isn't really the nature of the problem.

E.g.

Screenshot 2024-11-19 at 20 36 18

Notice that Latex translate seems to get out of line for hidden columns.

corbanvilla commented 2 days ago

Ok I looked a little more at this. The original problem was phrased as not applying to the last column for a styling function that should apply to the whole row. However that isn't really the nature of the problem. ....

Ah interesting... that makes sense.

mroeschke commented 18 hours ago

Thanks @corbanvilla