CLN: make cell_context DefaultDict like ctx - simplify code by attack68 · Pull Request #40453 · pandas-dev/pandas (original) (raw)

Making the variables and code in Styler consistent with each other and consistent in patterns so it is easier to work with (for me!) and newcomers.

Also removing redundant code cell_context.get("col_headings", {}) would never return anything other {}