highlight_max¶
-
hhpy.ipython.
highlight_max
(df: pandas.core.frame.DataFrame, color: str = 'xkcd:cyan') → pandas.core.frame.DataFrame[source]¶ highlights the largest 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