top of page

data analysis tips - displot in seaborn. groupby categories to inspect lower level distributions

Updated: Aug 10

use the displot in seaborn to inspect your distributions grouping by up to 3 categories to allow you to inspect the distributions by each sub sub category group. displot in seaborn is a valuable data analysis tool. Understanding the distributions in your dataset is more important, in terms of getting a good score on your model, than knowing what the data represents in real life.









Send me a message if you have any questions








use the default arguments in seaborns displot function. use col= argument to seperate, groupby, a category and plot each distribution by category



go a step further and plot separate / divide by two categories like a pivot table and see each distribution with seaborns displot





now with seaborns displot function which after grouping by two categories with row and col argument we change the color of the displot with the hue argument.

147 views0 comments

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page