highlight_min

hhpy.ipython.highlight_min(df: pandas.core.frame.DataFrame, color: str = 'xkcd:light red') → pandas.core.frame.DataFrame[source]

highlights the smallest value in each column of a pandas DataFrame

Parameters:
  • df – pandas DataFrame
  • color – color used for highlighting
Returns:

the pandas DataFrame with the style applied to it