BUG: df.style.apply(subset=...) argument only works for explicit slices but not ":" #33562
Labels
Bug
Needs Tests
Unit test(s) needed to prevent regressions
Styler
conditional formatting using DataFrame.style
Milestone
Related to #25858 (if not the same?), reproduced on 0.25.3 and current version 1.0.3.
It seems that the
subset
argument for pd.DataFrame.style only works for slices with explicit labels, e.g.['A',2]
but not for select-all labels, e.g.[:,2]
. See MWE belowThe text was updated successfully, but these errors were encountered: