Heatmap – Seaborn
[ad_1]
We go over heat maps and how to use them with seaborn. We talk about pandas pivot tables and how to construct a heat map from one.
Associated Github Notebook:
https://github.com/knathanieltucker/seaborn-weird-parts/blob/master/heatmap.ipynb
Associated Seaborn Links:
http://seaborn.pydata.org/generated/seaborn.heatmap.html#seaborn.heatmap
http://seaborn.pydata.org/examples/heatmap_annotation.html
http://seaborn.pydata.org/examples/many_pairwise_correlations.html
http://seaborn.pydata.org/examples/network_correlations.html
Source
[ad_2]
Hi I have a set of data in three list x,y,z and I want to create a map color with this data, how I can do it?, if I try to use directly the data, python sends me an error I think is because I need to put the data in a numpy array, but I’m not sure
Things I learned from this lecture:
*heatmap: color code matrix form
*robust=True -> 2-98% quantiles
*sns.heatmap(df.pivot(axis1, axis2, xxx))