Seaborn stripplot | What is a strip plot and how to make a strip plot in Python seaborn

  Рет қаралды 8,699

Kimberly Fessel

Kimberly Fessel

Күн бұрын

Пікірлер: 26
@viniciusoviedo
@viniciusoviedo Жыл бұрын
Amazing job! A very didactic video with a lot of value. Thank you for sharing it.
@jpjameszhang4675
@jpjameszhang4675 2 жыл бұрын
excellent introduction, especially the introduction of the statistics and the concept of plots.
@mosama22
@mosama22 3 жыл бұрын
Thank you for the beautiful video :-)
@Muchael754
@Muchael754 7 ай бұрын
I’ve used R ggplot for data visualisation and now learning Python. I was wondering for a long time how to do jitter plot in a different way as I used to use Graphpad, where we get swam plot! Thanks for telling me the name of the plot!!!
@KimberlyFessel
@KimberlyFessel 7 ай бұрын
Awesome! Yes, I find both the strip plot and the swarm plot to be super useful for getting a sense of the distribution of points. And they look nice too 😊
@maheshvenkat9956
@maheshvenkat9956 3 жыл бұрын
It would be great if you can explain how to interpret the plot. It is a brilliant step by step visual explanation
@KimberlyFessel
@KimberlyFessel 3 жыл бұрын
Oh I see - like some inferences we can draw from the plot? Interesting idea and I will consider that for an upcoming video. Thanks!
@haotruong2057
@haotruong2057 2 жыл бұрын
Hello can you tell me how to show the average data in each group in Seaborn
@nicolasrojastelles1606
@nicolasrojastelles1606 3 жыл бұрын
Outstanding explanation! Thanks. Could you please make an example with a colorbar. Is it possible to use a color bar with a stripplot like we can use in a scatterplot?
@KimberlyFessel
@KimberlyFessel 3 жыл бұрын
Glad you enjoyed the video and good suggestion. Theoretically, you should be able to pass a continuous variable to the "hue" argument of the stripplot like you can with the scatterplot. I just did a few tests, and this works but doesn't work as well as the scatterplot. This makes me wonder if the stripplot may have a bug or need to process data a bit differently. 🤔
@rishidixit7939
@rishidixit7939 2 ай бұрын
While making the stripplot how to get in inter quartile lines ?
@KimberlyFessel
@KimberlyFessel Ай бұрын
I don't think the stripplot natively comes with interquartile lines, but you could plot an empty box plot behind your stripplot to see them. For example: sns.boxplot(data=df, x='my_col', fill=False) sns.stripplot(data=df, x='my_col'); You could even turn the boxplot whiskers and fliers off with whis=0 and fliersize=0 if you'd like.
@rishidixit7939
@rishidixit7939 Ай бұрын
@@KimberlyFessel Thank You for the reply. I have actually saved and recommended your Seaborn Playlist to everyone. Your method of explaining is actually very comprehensive and nice which is not the case with a majority of KZbin creators in this field. I do not know much about you but still I would request you if you get the time please do try and make application based and explanation videos in the field of stats, Data Science and Probability. Though the field is cluttered there is a serious lack of comprehensive explanations and quality. Also please upload your video on Web Scraping which you made for PyCon US on your own channel. It is very well explained and an amazing Tutorial
@KimberlyFessel
@KimberlyFessel Ай бұрын
@rishidixit7939 Thanks very much for the recommendation to others! And I hope to make more videos in 2025.
@comebackivanovitch
@comebackivanovitch 3 жыл бұрын
Amazing!
@KimberlyFessel
@KimberlyFessel 3 жыл бұрын
Thank you very much! 😄
@minakshimathpal8698
@minakshimathpal8698 4 жыл бұрын
sns.set_style('white') sns.stripplot(cars.weight, ['']*len(cars), hue=cars.cylinders, can you plzz explain what ['']*len(cars) is doing here
@KimberlyFessel
@KimberlyFessel 4 жыл бұрын
Sure thing. For that example, I wanted just one horizontal strip of data, so I set the y-axis category to be one empty string for every datapoint. (That syntax just repeats the elements of the list by the number of rows in cars.) This also means that I don't have any y-axis tick labels because the category is just the empty string.
@sivasu07
@sivasu07 4 жыл бұрын
Mam ur teaching is excellent Can u teach me seaborn libraries in python
@KimberlyFessel
@KimberlyFessel 4 жыл бұрын
So glad you enjoyed the video! 👍 You can check out my full "Introduction to Seaborn" playlist here: kzbin.info/aero/PLtPIclEQf-3cG31dxSMZ8KTcDG7zYng1j
@sivasu07
@sivasu07 4 жыл бұрын
@@KimberlyFessel do u have videos for multiple bar plots using twinx func
@sivasu07
@sivasu07 4 жыл бұрын
@@KimberlyFessel last ques- how to do multiple box plots in seaborn
@KimberlyFessel
@KimberlyFessel 4 жыл бұрын
Hi -- no videos using twinx yet but will consider that for the future!
@KimberlyFessel
@KimberlyFessel 4 жыл бұрын
As subplots? You could create multiple box plots on the same figure by using pyplot to create subplots (plt.subplots(1, 2) would create one row with two columns of figures). I'll likely to a subplot video at some point 😄
@jedidiaholadele2086
@jedidiaholadele2086 2 жыл бұрын
This really should be called a jitterplot
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
What is a violin plot and how to make a Seaborn violinplot in Python
11:04
Violin Plot [Simply explained]
3:45
DATAtab
Рет қаралды 18 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,7 МЛН
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН