def METHOD_NAME(data, color="lightgreen"):
    """
    Highlights the minimum in a Series or DataFrame.
    """
    attr = f"background-color: {color}"
    if data.ndim == 1:  # Series from .apply(axis=0) or axis=1
        is_min = data == data.min()
        return [attr if v else "" for v in is_min]
    else:  # from .apply(axis=None)
        return pd.DataFrame(
            np.where(is_min, attr, ""), index=data.index, columns=data.columns
        )