filmov
tv
Seaborn PairGrid | Compare PairGrid vs pairplot and use seaborn PairGrid map and map_diag
![preview_player](https://i.ytimg.com/vi/Skyp6-RmA84/maxresdefault.jpg)
Показать описание
The seaborn PairGrid allows you to plot relationship plots as well as marginal distribution and is more flexible than the pairplot. In this video we compare the PairGrid vs pairplot, beginning by answering, "What is the PairGrid?" I then show you how to set up your PairGrid and then use pairgrid map to map various plots of your data onto the pairgrid. We then discuss the anatomy of the PairGrid and how you can use map_diag to map plots to the main diagonal, map_offdiag to map plots to the off-diagonal, and map_lower and map_upper to put plots on the lower and upper triangles of the pairgrid. Next, you'll see how to use the seaborn pairgrid hue to use color to represent a categorical feature in your dataset, and I also show you how to use pairgrid vars to specify only a subset of your numerical columns. Finally, we discuss pairgrid styling including how to change the pairgrid size with the arguments height and aspect. I also show you how to add a pairgrid legend.
0:00 Introduction
0:12 What is the PairGrid?
0:48 PairGrid Setup
2:28 PairGrid map()
4:32 PairGrid map_diag(), map_lower(), etc.
8:13 PairGrid hue and vars
10:49 PairGrid Styling
13:27 PairGrid legend
14:55 BLOOPERS!
// Github CODE //
// Related VIDEOS //
#seaborn #dataviz
0:00 Introduction
0:12 What is the PairGrid?
0:48 PairGrid Setup
2:28 PairGrid map()
4:32 PairGrid map_diag(), map_lower(), etc.
8:13 PairGrid hue and vars
10:49 PairGrid Styling
13:27 PairGrid legend
14:55 BLOOPERS!
// Github CODE //
// Related VIDEOS //
#seaborn #dataviz
Комментарии