border_after_group_styler#

mobgap.utils.tables.border_after_group_styler(
groupby: Hashable | list[Hashable],
style: str = 'border-bottom: 2px solid black',
) Callable[[DataFrame], DataFrame][source]#

Add a border after each group in a DataFrame.

Parameters:
groupby

A valid groupby argument for groupby.

style

The CSS style to apply to the border.