I have the following pandas Dataframe. alfa_value
and beta_value
are random, ndcg
shall be the parameter deciding the color.
The question is: how do I do a heatmap of the pandas Dataframe?
CodePudding user response:
In general, Seaborn's heatmap function is a nice way to color pandas' DataFrames based on their values. Good examples and descriptions can be found