Series#

Headers#

A Series’ header attribute is a string which will later be inserted as a Cell. It has several purposes:

  • Ignored by formulas and cell references, and is instead treated as a stylistic attribute of the parent container.

  • Declared manually, or automatically if a pd.Series is given

  • Its styling is independent of the other child cells, and must be styled separately with header_style.

  • It can be referenced globally by other Exprs in the layout, just like an id. This is to avoid redundancy, and also provide convenience when headers are set automatically from pandas objects.