Introduction to Seaborn | How seaborn Python works with matplotlib along with seaborn and pandas

Sdílet
Vložit
  • čas přidán 8. 07. 2024
  • This first video of my "Introduction to Seaborn" series covers the basics of seaborn, a Python library for data visualization. Here, I describe what seaborn is and discuss seaborn installation. I compare seaborn vs matplotlib and explain how seaborn updates matplotlib's rcParams. I also show you how you can use seaborn and pandas and conclude with a gallery of seaborn Python examples.
    Each subsequent video in this series examines a specific seaborn plot type or aspect.
    0:00 About this series
    1:15 How to install and import seaborn
    1:58 How seaborn updates matplotlib
    4:48 How seaborn integrates with pandas
    6:37 Gallery of examples
    Github code:
    github.com/kimfetti/Videos/bl...
    #seaborn #dataviz
  • Věda a technologie

Komentáře • 108

  • @davestaggers2981
    @davestaggers2981 Před rokem

    Thank you for developing the playlist introduced by this video. These were very informative, and I really appreciated how you start with the objective of each plot type before diving into syntax.

  • @stevenlavelle
    @stevenlavelle Před 2 lety +5

    Great organization of topics, great presentation. Can't wait to watch more of your videos!

  • @TheChadtech
    @TheChadtech Před 2 lety +2

    Exactly what i was looking for. You are so underrated, you need more followers

  • @troy_neilson
    @troy_neilson Před rokem

    Fantastic video. Looking forward to exploring the rest of the series!

  • @abcabcfirebreath
    @abcabcfirebreath Před rokem

    I thank you for generously sharing this video and github depository, it has been a massive help.

  • @samruddhideshmukh5928
    @samruddhideshmukh5928 Před 3 lety

    Short and clear explanation and demonstration. Very helpful in understanding the uses of the various seaborn plots.

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety

      Thanks! Very happy to hear these videos have been helpful for you!

  • @MroiDev
    @MroiDev Před rokem

    Thank you for the explanation. Good job, Kimberly!

  • @emanabdelhaleem7561
    @emanabdelhaleem7561 Před 4 měsíci

    I've just started the video and I'm optimistic this will be a great series.

  • @tapioms
    @tapioms Před 3 lety +1

    Simple, concise, and short. Good video!

  • @andreazecchi812
    @andreazecchi812 Před 3 lety +1

    The best, absolutely. Clear and so direct.

  • @renatomello1998
    @renatomello1998 Před 2 lety

    Kimberly, you are awesome. Thank you so much!

  • @hongducle5390
    @hongducle5390 Před 2 lety +2

    You are amazing! Thank you for this great tutorial

  • @junaidameen2224
    @junaidameen2224 Před 2 lety

    Such a kwoledge level class.thnq mam

  • @deldridg
    @deldridg Před rokem +1

    Thank you very much Kimberly. Very useful. I have had many years working around the globe in a consulting capacity and have recently been migrating a lot of my analytical work from Excel to Python - party for the challenge but also for the wonderful analytical tools on offer. My global consulting is irrelevant to the point but it's always fun to say... ;-)
    Cheers and thank you from Sydney - David

  • @alainleclerc4523
    @alainleclerc4523 Před rokem +1

    you are just amazing!! so well explained!! really thank you very much 😀🌺

  • @EvaPev
    @EvaPev Před 8 měsíci

    Outstanding presentation and organisation.

  • @tillw9730
    @tillw9730 Před 3 lety +1

    excellent series and explanation. Thank you!

  • @gabrielasouzabatista987

    Thank you so much for this video. That's what I was looking for!!

    • @KimberlyFessel
      @KimberlyFessel  Před 2 lety

      Fantastic! Very glad to hear it was helpful for you 😀

  • @uptonogood300
    @uptonogood300 Před 2 lety

    lowkey the most underrated channel i have come across

    • @KimberlyFessel
      @KimberlyFessel  Před 2 lety +1

      Oh thank you! I appreciate the compliment! 😄

  • @aahmadameen7643
    @aahmadameen7643 Před 2 měsíci +1

    your teaching method too friendly and easy to understand as a newbies...kimberly keep it up.
    It was really very helpfull for me.

    • @KimberlyFessel
      @KimberlyFessel  Před 2 měsíci

      Why, thank you! Very glad to hear it was helpful 👍

  • @santoshkumargouda6033
    @santoshkumargouda6033 Před 2 lety

    This is extermely well explained tutorials on data viz .

    • @KimberlyFessel
      @KimberlyFessel  Před 2 lety

      Oh thank you! Glad you are enjoying my explanations. 😄

  • @nurwijayadi
    @nurwijayadi Před 3 měsíci

    I really love this.
    I use yt-dlp, and it doesn't sort well, unless sort by modified date. So I open the browser while learning.
    Thank you so much. It is helpful.

    • @KimberlyFessel
      @KimberlyFessel  Před 3 měsíci +1

      So glad you enjoyed it and found it helpful - cheers! 😁

  • @pankajgoikar4158
    @pankajgoikar4158 Před rokem

    You are just amazing mam. I'm big fan of yours. Thank you for the wonderful video. Thanks a lot. 😀

  • @brendafosmire6519
    @brendafosmire6519 Před 3 lety

    THNAK YOU. This is exactly what I need and want.
    I am an analysts who wants to move fully to Python going away from Tableau/Alteryx.

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety

      Fantastic -- so glad this was useful! Good luck on your Python journey.

  • @jiwonpark1765
    @jiwonpark1765 Před 17 dny

    Thank you, Kimberly, for your excellent videos. Your video is very educational and informative. Even slow person like me could easily follow your instructions, and I could construct density plots of the dataset that I had been playing with (10-yr wind obs in the Hunter Valley NSW) after simply watching your video. Many thanks :)

    • @KimberlyFessel
      @KimberlyFessel  Před 16 dny

      So glad to hear you found my videos valuable! Wishing you all the best on your wind data project 😀

  • @lohikarhu734
    @lohikarhu734 Před 2 lety

    Great presenter...very engaging...

  • @airgeaz3871
    @airgeaz3871 Před 2 lety

    I think i have a long journey to spend here, thanks for tips

  • @TrivialTax
    @TrivialTax Před 2 lety

    Great series, thanks!

  • @rubayetalam8759
    @rubayetalam8759 Před 2 lety

    hey! Great Tutorials ! Thanks

  • @NguyenTran-eq2wg
    @NguyenTran-eq2wg Před 3 lety

    Thanks for such an useful sesries!

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety +1

      So happy to hear it has been useful for you! 😄

  • @billionairepodcast
    @billionairepodcast Před 5 měsíci

    Thank you Kimberly, very nice tutorial.

    • @KimberlyFessel
      @KimberlyFessel  Před 5 měsíci +1

      Glad it was helpful! 😁

    • @billionairepodcast
      @billionairepodcast Před 5 měsíci +1

      @@KimberlyFessel could you please make videos series about Statistics ? I couldn't find any statistic people who can explain things easier and better than you with very pleasing and soothing voice :)

    • @KimberlyFessel
      @KimberlyFessel  Před 5 měsíci

      @@billionairepodcast Great idea! I have done a few videos on data science metrics, but I've always wondered if I should put my math PhD to use and do more stats/math videos... 🤔

    • @billionairepodcast
      @billionairepodcast Před 5 měsíci

      ​@@KimberlyFessel I've watched them, your videos of DS metrics. To be honest all of your videos. Haha
      Your idea sounds nice. Can't wait to learn more from you :)

  • @datoalavista581
    @datoalavista581 Před rokem

    Great wording !

  • @vivekraj7520
    @vivekraj7520 Před rokem

    Nice work

  • @Daijyobanai
    @Daijyobanai Před rokem

    Python folks really like their upbeat jaunty music! It's fascinating to me, coming from more general programming to this data-science world in which people are ... happy?

  • @andrelovo7333
    @andrelovo7333 Před 3 lety

    Very good ! Tks !

  • @KalyanGk0
    @KalyanGk0 Před 3 lety

    Love your videos

  • @digigoliath
    @digigoliath Před 3 lety

    Nice!! TQVM!

  • @lawrencetaulk7898
    @lawrencetaulk7898 Před 3 lety +1

    this is wonderful video, i love it. especially for your generous codes, i appreciate it very much. a lot thanks.

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety

      Absolutely! I'm happy you are enjoying the videos and the code 😄

  • @topfundus1093
    @topfundus1093 Před 2 lety

    Vielen Dank und viele Grüße aus D.!

  • @rohith4709
    @rohith4709 Před 3 lety

    nice and clear :)

  • @daliamarzouk5594
    @daliamarzouk5594 Před 2 lety

    Thanks :D :D

  • @danilosantiagocriollochave7649

    I want to use boxplots with seaborn in nested loops , its possible ??

  • @yuchaozhang3587
    @yuchaozhang3587 Před 3 lety

    Hi, Kimberly. I really like this video series about seaborn, and I appreciate it very much. Are you interested in making a video about seaborn palette? Feel a little confused about that.

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety

      Yes! I have been wanting to make a video about seaborn color palettes for nearly a year now. Now to just sit down and make it - hopefully soon! 👍

  • @dperezc88
    @dperezc88 Před 2 lety +3

    This series is amazing. I have a question, What command do you use (min 3:03) to see the function parameters, I tried with SHIFT+TAB but it doesn't show me all the signatures, just shows: Signature: sns.set(*args, **kwargs)

    • @geomicrobio
      @geomicrobio Před 2 lety

      Hola Daniel lograste resolver? me aparece lo mismo. Saludos

    • @dperezc88
      @dperezc88 Před 2 lety

      @@geomicrobio no, no encontré

    • @KimberlyFessel
      @KimberlyFessel  Před rokem +1

      Hey there - If you are still interested in a reply... this video was created with an older version of Seaborn. For newer versions, the preferred command is sns.set_theme(). Try that and then do SHIFT + TAB TAB (hit TAB twice while holding SHIFT) to expand out the docs. Cheers!

  • @torstenhendrich5647
    @torstenhendrich5647 Před 3 lety

    Thank you for this great tutorial. The best Seaborn course I found. Will you create als a video about the seaborn fig-level function like relplot(), displot() and catplot()?
    Best Regards
    Torsten

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety +1

      So glad you are enjoying my content -- and yes! I do plan to make videos about the relplot and catplot. You can check out my video on the distplot here: czcams.com/video/fJoR3QsfXa0/video.html

    • @syedawaisalishah9435
      @syedawaisalishah9435 Před 3 lety

      @@KimberlyFessel create pandas tutorial after that playlist

  • @perryliu6573
    @perryliu6573 Před 3 lety

    Kim, how do you implement collapse dropdown for multiple cells?

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety

      I installed nbextensions ( jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html ) which allows for additional functionality in Jupyter Notebook. Those dropdowns are an extension called "Collapsible Headings" ( jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/collapsible_headings/readme.html ).

  • @saradhithota4098
    @saradhithota4098 Před 3 lety

    Hey Kimberly Fessel! This is a great intro to Seaborn. I was trying to import data from local. It seems load_dataset('abc.csv') isn't working. Could you help me load dataset. I would appreciate if you could step in here. Thanks in advance.

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety +1

      Hi there - the Seaborn function .load_dataset() only works for the specific datasets that come with Seaborn. You can view a full list of those datasets by executing sns.get_dataset_names(). To load in your own data, you will probably want to use pandas. First do "import pandas as pd" and then you can use "df = pd.read_csv('abc.csv')". After that you can plot your dataframe df with Seaborn!

  • @jaydebbhunia3676
    @jaydebbhunia3676 Před 9 měsíci

    can you kindly share the dataset to practice the code

  • @b22_srikanthreddy31
    @b22_srikanthreddy31 Před rokem

    at timing 3.13 s how to get the signature dialogue box i.e the dictionary of the function in a dialogue box ??

    • @b22_srikanthreddy31
      @b22_srikanthreddy31 Před rokem

      plsss reply anyone

    • @KimberlyFessel
      @KimberlyFessel  Před rokem

      Hi! This video was created with an older version of Seaborn. For newer versions, the preferred command is sns.set_theme(). Try that and then do SHIFT + TAB TAB (hit TAB twice while holding SHIFT) to expand out the docs. Cheers!

  • @nishant_poddar
    @nishant_poddar Před 3 lety

    Hi, I liked your channel. Have one question if you can take up- How can I draw stacked bar plot in one line of code in Seaborn?
    something similar I can do in pandas plot function e.g. df_states.plot.bar(stacked=True, figsize=(20,10), grid=False, title="Cousines By State");

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety +1

      Glad you like my channel! This is a good question -- I will have to dig into the Seaborn source code more because at the moment, I don't know how you could accomplish this in the nice easy way that pandas provides. If you do just want the Seaborn styling, you could always import seaborn as sns and then just do sns.set() before your pandas plot to update matplotlib's styling via the rc parameters.

  • @karannchew2534
    @karannchew2534 Před 3 lety

    At 3:05 - how did you expand sns.set() to show it's code???

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety +4

      Oh yeah - that's a cool trick within Jupyter Notebook. You can put your cursor inside the parentheses, hold down the "Shift" key, and then hit the "Tab" key twice. That will show you a snippet of the docstring. 😄

    • @karannchew2534
      @karannchew2534 Před 3 lety +1

      @@KimberlyFessel Thanks very much Kim for taking time to reply. I'm trying to go through all your excellent seaborn video. Thanks for sharing!

  • @darijozivkovic7931
    @darijozivkovic7931 Před rokem

    Do I need to learn Matplotlib first or I can just jump on Seaborn?

  • @t.t.cooperphd5389
    @t.t.cooperphd5389 Před 3 lety

    Can you do a tutorial on volcano plots?

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety

      These are pretty neat -- I'll add it to the list!

  • @VAIBHAVMALHOTRA19
    @VAIBHAVMALHOTRA19 Před 4 měsíci

    Im getting strikethrough on set when I am coding on VS Code

    • @KimberlyFessel
      @KimberlyFessel  Před 4 měsíci

      Hi there - sns.set() still works for me with Seaborn version 0.13.1, but you could try sns.set_theme() and see if that works. The set function is an alias for set_theme. 👍

  • @agiona
    @agiona Před 3 lety

    How can i view docs on jupyper like you at minute 3:03? Thanks

    • @KimberlyFessel
      @KimberlyFessel  Před 3 lety +1

      Oh yes -- this is a super cool feature of Jupyter. Inside of the parentheses, you can hold down shift and press tab. That should bring up the top part of the documentation. Or shift + tab + tab which will bring up the full docs. (At least that's what works on my Mac!)

    • @philr3630
      @philr3630 Před 3 lety

      @@KimberlyFessel Thank you. Good videos. Following on this question, In what environment are you working. Yes, I'm using Windows/Jupyer but your video shows "Seaborn" with arrow and when I shift=tab I don't get the list you do; signature, docstring, ... How would I 1- see the parameters 2- where can I change these parameters if I need? Working my way through your series. TIA

  • @mohammadnawaz3758
    @mohammadnawaz3758 Před 3 lety

  • @richardbennett4365
    @richardbennett4365 Před 2 lety

    I wonder why everyone pronounces matplotLIB as lib with a short i sound instead of a long i sound as in LIBRARY.

  • @geomicrobio
    @geomicrobio Před 2 lety

    Finally, a woman !! Love u

  • @rachanpreetsingh9018
    @rachanpreetsingh9018 Před rokem

    i came here to see the beautiful kimberly..☺☺

  • @cookieuk1278
    @cookieuk1278 Před 2 lety

    Not very clear I'm afraid. Pup install seaborn: u don't say that u need to nav to pip dir. Sns(set) .; up Dr not explain how u r changing settings.....just in first minute

  • @tadicahya6439
    @tadicahya6439 Před rokem

    Hello arknights player who accidentally end up here after searching seaborn lore

  • @richardbennett4365
    @richardbennett4365 Před 2 lety

    I wonder why this doctor chooses sns instead of something easier like sea or born. Sns is so cryptic and seems to be unrelated to s-e-a-b-o-r-n.

  • @raihanfirdaus7987
    @raihanfirdaus7987 Před 2 lety +15

    This is what exactly I'm looking for, as a newbie data scientist I really enjoy these tutorials. Thank you Kimberly! :)

    • @KimberlyFessel
      @KimberlyFessel  Před 2 lety

      So good to hear! I wish you all the best as you begin your data science journey!