pythonstyleframe

Is it possible to set the border to be the default Excel faint grey using StyleFrame?


Looking at the documentation for StyleFrame, it looks like none of the borders options are just the normal faint grey border found by default on Excel spreadsheets.

Is it possible to set this using Styler?


Solution

  • As discussed in this GitHub issue this requires a bit of a workaround. Set both border_type and fill_pattern_type to None.

    Styler(border_type=None, fill_pattern_type=None)