def df_apply_sns_color_map(df, color='red', **kwargs):
    """Set color map to a dataframe.
    Thanks to https://pandas.pydata.org/pandas-docs/stable/user_guide/style.html
    """
    import seaborn as sns
    cm = sns.light_palette(color, as_cmap=True, **kwargs)
    df = df.copy()
    return df.style.background_gradient(cmap=cm)
