- Видео 63
- Просмотров 1 082 756
Kimberly Fessel
США
Добавлен 20 окт 2011
Welcome to my channel! My channel currently features videos about Python, data visualizations packages, and visual explanations of plots and metrics. You can watch my full "Introduction to Seaborn" playlist, check out some specific Matplotlib tips, or see other visual interpretations of data concepts.
To see more from some of my favorite learning resources, check out my Amazon storefront: www.amazon.com/shop/kimberlyfessel
And if you have found my videos and code useful and you are in a position to do so, please consider buying me a cup of coffee: www.buymeacoffee.com/kimberlyfessel Your support signals the importance of this channel and helps encourage me to make more content -- THANK YOU!
I am currently a freelance data scientist, specializing in data visualizations and data education. Feel free to contact me by email with business opportunities. Thanks for stopping by and let me know what type of content you would like to see next -- cheers!
To see more from some of my favorite learning resources, check out my Amazon storefront: www.amazon.com/shop/kimberlyfessel
And if you have found my videos and code useful and you are in a position to do so, please consider buying me a cup of coffee: www.buymeacoffee.com/kimberlyfessel Your support signals the importance of this channel and helps encourage me to make more content -- THANK YOU!
I am currently a freelance data scientist, specializing in data visualizations and data education. Feel free to contact me by email with business opportunities. Thanks for stopping by and let me know what type of content you would like to see next -- cheers!
CLASSIFICATION METRICS Course // FREE preview of first lesson
⭐ Link to FREE PREVIEW lesson: kimberly-s-site-0700.thinkific.com/courses/classification-metrics?
Get ready to "Visually Learn, Remember, and Choose the Best Classification Metrics" with this full on-demand course. Here, you'll not only discover the most popular data science metrics for classification machine learning problems but also learn tricks for remembering their definitions (hello, mnemonic devises!) and choosing an appropriate metric for your specific project.
Here are some of the metrics you'll learn about:
- Confusion matrix
- Accuracy
- Precision
- Recall
- F1-score
- F-beta score
- ROC AUC
- Log loss
Beef up your classification metric knowledge to ace your next interview, company meeti...
Get ready to "Visually Learn, Remember, and Choose the Best Classification Metrics" with this full on-demand course. Here, you'll not only discover the most popular data science metrics for classification machine learning problems but also learn tricks for remembering their definitions (hello, mnemonic devises!) and choosing an appropriate metric for your specific project.
Here are some of the metrics you'll learn about:
- Confusion matrix
- Accuracy
- Precision
- Recall
- F1-score
- F-beta score
- ROC AUC
- Log loss
Beef up your classification metric knowledge to ace your next interview, company meeti...
Просмотров: 1 272
Видео
Pandas QUERY // Examples of pandas query with MULTIPLE CONDITIONS and pandas query with a VARIABLE
Просмотров 1,2 тыс.5 месяцев назад
Learn how to filter Python pandas dataframes using the pandas query method. This video shows you how to write strings needed for the pandas query and compares those to writing pandas masks. I'll show you how to reference columns with spaces by using back ticks. And you can level up your Python pandas code by writing a query with a variable using the at symbol. I'll also show you examples of how...
Pandas Drop Duplicates // Drop duplicate rows in Python pandas with examples for subset and keep
Просмотров 6875 месяцев назад
Learn how to drop duplicate rows in Python pandas dataframes with this quick tutorial. This video from my "Pandas Tips" series walks you through finding duplicate rows (with pandas duplicated method) and dropping duplicate rows with pandas drop_duplicates method. You'll also be able to level up your Python pandas skills by dropping duplicates based on one or multiple columns using the drop dupl...
Drop rows with missing values with pandas dropna // Python pandas dropna, subset, axis, thresh
Просмотров 8645 месяцев назад
Learn how to drop rows with missing values using the Python pandas dropna method. In this video, I'll show you how to drop rows with a missing value in any column as well as how to only drop rows that are missing all column values. Then level up by using pandas to drop missing values in a specific column using the subset property. You can also use pandas dropna subset to drop based on multiple ...
Drop pandas column or row // Solve ERROR for pandas drop not found in axis!
Просмотров 9996 месяцев назад
Did you get a key error when you tried to drop a column from your pandas dataframe? Try this! In this video, I demonstrate how to use pandas drop to get rid of a column or a row of your dataframe. You'll learn how to use the axis or columns options to solve the pandas drop key error and successfully drop a pandas column by name. Then you can level up your skills by using Python pandas to drop m...
Update pandas data types // Change data types of multiple columns with Python pandas astype
Просмотров 8296 месяцев назад
Change the data types of your Python pandas dataframes and series columns using pandas astype method. This video from my "Pandas Tips" series demonstrates how you can use Python pandas astype to recast your columns or dataframes from one data type into another. First, we change the current data types of our dataframe using the pandas dtypes property. I'll show you how to update the data types o...
Rename columns in pandas // Change the name of Python pandas columns and rows
Просмотров 6436 месяцев назад
Change the names of your Python pandas columns and rows with this tutorial about the pandas rename method. This video from my "Pandas Tips" series shows you how to update your column names with the rename command by setting axis=1 or adding the columns argument. I'll also show you how to use pandas rename to update your row index labels. Level up your skills by including the rename inplace argu...
Python pandas read_excel // Load a specific Excel sheet, skip rows, and more with this tutorial
Просмотров 2,3 тыс.6 месяцев назад
Learn how to load an Excel file into Python pandas with this quick tutorial. This video from my "Pandas Tips" series walks you through reading an Excel file into pandas from your computer and from a GitHub URL. You'll see how to read from a specific Excel sheet if you have multiple sheets. You will also learn how to skip rows from the top of your Excel file with the skiprows argument or how to ...
Python pandas read_csv // Load a CSV into pandas from a file or URL // index_col, na_values, nrows
Просмотров 2,9 тыс.7 месяцев назад
Learn how to load a CSV file into Python pandas with this quick tutorial. This video from my "Pandas Tips" series walks you through reading an CSV file into pandas from your computer and from a GitHub URL. You'll also be able to level up your pandas skills by setting the column that should be treated as the index of your pandas dataframe with the index_col option. Then tell Python pandas which ...
Clear Example of Jaccard Similarity // Visual Explanation of What is the Jaccard Index?
Просмотров 28 тыс.2 года назад
See a clear example of Jaccard similarity, also called the Jaccard index, in this tutorial video. I begin by demonstrating a visual example with a grocery shopping trip and sharing the definition of Jaccard similarity. We see the Jaccard similarity formula and use it to compute the Jaccard index between our two sets: the grocery list vs the grocery purchases. Then we explore two other example a...
Advanced Seaborn Color Palettes | Cubehelix palette, xkcd colors, choose_colorbrewer_palette
Просмотров 4,7 тыс.2 года назад
Learn advanced seaborn color palette options in this tutorial video. We begin with the seaborn cubehelix palette. I answer what is cubehelix and show you various options like cubehelix start, rotation, light, and dark. We then move on to more seaborn palette options, specifically the seaborn husl palette. This palette is based off of the HSL color system, and I show you how to use the arguments...
Seaborn Color Palette Basics | Using named and custom color palettes in Python seaborn
Просмотров 10 тыс.2 года назад
Explore seaborn color palettes with this video tutorial on seaborn palette options. We start with the basics of seaborn's default color palette through the seaborn color_palette function and by passing palette names to the seaborn scatterplot hue argument. Then I show you how to use named color palettes and how to get the seaborn color palette names from an error message. We also look at seabor...
Automatically Update Matplotlib Text Position with Python adjustText to Avoid Overlaps
Просмотров 6 тыс.2 года назад
Automatically update the text on your Matplotlib or seaborn figures so it doesn't overlap with adjustText! In this Python Matplotlib tips video, I show you how to use a Python package called adjustText to automatically update your Matplotlib text position so that the text doesn't overlap. First I answer, "What is adjustText?" Then I show you how to get adjusttext using "pip install adjustText"....
Matplotlib Secondary y-Axis || Add another y-axis with Matplotlib twinx || Matplotlib Tips
Просмотров 15 тыс.2 года назад
Learn how to make a Matplotlib secondary y axis in this Matplotlib Tips tutorial video. I start from the basics and show you how to add another y axis with the matplotlib twinx axes method. I explain that you should consider matplotlib two y axes if your data are on two different scales. Then we learn how to use ax twinx, which creates a new set of subplot axes with an invisible x-axis but an i...
Build a Quick Animation with ipywidgets // ipywidgets play example
Просмотров 8 тыс.2 года назад
Build a Quick Animation with ipywidgets // ipywidgets play example
Seaborn JointGrid | Understanding the jointplot vs jointgrid and the seaborn jointgrid axis
Просмотров 4,3 тыс.2 года назад
Seaborn JointGrid | Understanding the jointplot vs jointgrid and the seaborn jointgrid axis
Seaborn ecdfplot | What is an ECDF plot? And how to code an ECDF plot in Python seaborn
Просмотров 10 тыс.3 года назад
Seaborn ecdfplot | What is an ECDF plot? And how to code an ECDF plot in Python seaborn
Ipywidgets Interact Function | ipywidgets Examples of Slider, Dropdown, Checkbox, Text Box
Просмотров 24 тыс.3 года назад
Ipywidgets Interact Function | ipywidgets Examples of Slider, Dropdown, Checkbox, Text Box
Seaborn PairGrid | Compare PairGrid vs pairplot and use seaborn PairGrid map and map_diag
Просмотров 5 тыс.3 года назад
Seaborn PairGrid | Compare PairGrid vs pairplot and use seaborn PairGrid map and map_diag
Data Visualization Thought Process // Python Matplotlib Baby Names Data Visualization
Просмотров 6 тыс.3 года назад
Data Visualization Thought Process // Python Matplotlib Baby Names Data Visualization
Seaborn clustermap | How the clustermap works and what is the clustermap?
Просмотров 14 тыс.3 года назад
Seaborn clustermap | How the clustermap works and what is the clustermap?
Introduction to ipywidgets | Jupyter Widgets Introduction | What is ipywidgets with an example
Просмотров 31 тыс.3 года назад
Introduction to ipywidgets | Jupyter Widgets Introduction | What is ipywidgets with an example
Seaborn countplot | What is the countplot? | Seaborn countplot vs barplot
Просмотров 18 тыс.3 года назад
Seaborn countplot | What is the countplot? | Seaborn countplot vs barplot
MATPLOTLIB 3D PLOTS including Scatter 3D and Surface Plots for Matplotlib Python || Matplotlib Tips
Просмотров 43 тыс.3 года назад
MATPLOTLIB 3D PLOTS including Scatter 3D and Surface Plots for Matplotlib Python || Matplotlib Tips
Seaborn lmplot | Comparing lmplot vs regplot and using the Seaborn lmplot hue and FacetGrid
Просмотров 9 тыс.3 года назад
Seaborn lmplot | Comparing lmplot vs regplot and using the Seaborn lmplot hue and FacetGrid
Remove outside box around matplotlib figures || Despine matplotlib || Matplotlib Tips
Просмотров 6 тыс.3 года назад
Remove outside box around matplotlib figures || Despine matplotlib || Matplotlib Tips
4 Single Characters in Python // Underscore, Asterisk, Semicolon in Python and Jupyter Notebook
Просмотров 1,6 тыс.3 года назад
4 Single Characters in Python // Underscore, Asterisk, Semicolon in Python and Jupyter Notebook
Seaborn displot | What is the displot vs distplot? How to make a Python Seaborn distribution plot
Просмотров 16 тыс.3 года назад
Seaborn displot | What is the displot vs distplot? How to make a Python Seaborn distribution plot
How to add shading to matplotlib figures and fill between two lines || Matplotlib Tips
Просмотров 6 тыс.3 года назад
How to add shading to matplotlib figures and fill between two lines || Matplotlib Tips
Never Forget Again! // Precision vs Recall with a Clear Example of Precision and Recall
Просмотров 101 тыс.3 года назад
Never Forget Again! // Precision vs Recall with a Clear Example of Precision and Recall
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!!!
it's a great video, thanks for sharing it, Kimberly!
Thanks! Glad you liked it! 😁
Thank you so much!!
You are most welcome - glad it helped!
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 :)
So glad to hear you found my videos valuable! Wishing you all the best on your wind data project 😀
nice video, good explanation, poor table XD
Haha - glad you liked the video. The table is supposed to be “distressed.” But it looked even worse after my duct tape modeling 😆
Thanks!
You’re very welcome! Thanks for the support - cheers! 😀
Thanks for the lessons ✌
Most welcome - cheers! 😀
I can only see your zoomed in face as the result of interactive widget. 😅
I do love a good talking head segment! 😆
Great work , thnks for sharing with us
Of course! Glad you liked it 😁
Thanks!
Most welcome! So happy you’re enjoying my content 😀
I'm gonna use this a lot in my Classification related notebooks. Thanks for the lucid and in-depth explaination of this plot. Keep going :)
Excellent! Glad you found it useful 😀
Thanks!
Really appreciate the support - thanks so much! 😀
Thank you. I initially came to learn how `twinx` works, but I ended up learning a lot of other helpful things as well. I'm subscribing 🙂.
Awesome! Welcome aboard! 👍
Thanks!
Thanks so much for supporting my channel! Wishing you all the best 😁
Solve figure cutoff problem: plt.savefig('name.png', bbox_inches='tight')
Oh yeah! 👍 This is honestly my go to but if it doesn’t work, then I switch my approach.
I just bought the course. No amount of money can pay for the amazing content you are putting out here but that's my little way to support your work. People were wowed by how my the data visualization skills improved and it's all because of the knowledge I have gained from your tutorials on RUclips
Thanks so much for your purchase, and I am beyond thrilled to hear my channel has helped with your data visualization skills. Wishing you all the best! 👍
Great tutorial! However, my PDF output from matplotlib shows Greek letters that look badly formatted. How can I correct for this?
Thanks! I'm not sure exactly what you're seeing. I don't remember having problems with this in the past. So my only guess that I might try is saving as a SVG file instead of a PDF and converting it later.
By far, the best video on the explanation of these concepts
Thanks so much! 😊
June 4, 2024: Oddball transcript is showing instead of video dialogue.
Wow - it sure is. I attempted to update it, but that doesn't appear to be working. Hopefully will get fixed soon!
The slider is easy but for some reason I just can't get the Button to work - and it's the Last thing mentioned anywhere, if at all.
Thanks for the feedback! I’ll keep that one in mind for future videos 👍
Couldn't be more thrilled with Dr. Fessel's videos. I've probably watched a thousand data science videos. I try to pull what I can into a Microsoft OneNote page that I can make sense of. Usually that's not as easy as it sounds. With her videos, transcripts, and github pages, she sets a standard that makes all those other experts look like bums.
Awww - thanks so much! So glad to hear you find my content helpful 😀
Spent several frustrating days looking for something like this to plug my knowledge gap. Exactly what I needed...world's greatest tutorial!
Right on! Happy you liked it!
OMG!!! Kimberly you are rocking!!! This is out of the world...
I used both Histplot and Countplot on categorical data and both provided similar results so what is the difference between the two ?
Great question - the output looks very similar but the input can be quite different. For the histplot, you'll have a column of numbers. Those can be integers or floating point numbers with a decimal. Seaborn will automatically make buckets for those numbers and count up how many numbers it sees within the range of each bucket (e.g. how many numbers fall somewhere within 3 to 5?) With the countplot, however, you'll often have a column full of categorical items, such as a column full of text values like dog, cat, and bird. Seaborn will tally up how many of each item it sees in that column (e.g. how many times does the word "dog" appear in the "pets" column?). Things can get fancier from there, but that's the rough gist. 👍
@@KimberlyFessel Thanks a Lot😊
Thank you so much! , may I know if we can change legend position of kde plot?
The move_legend function may be useful for this: seaborn.pydata.org/generated/seaborn.move_legend.html
Nice Movie, I liked the Palette-Widgets the most! Thank you very much. br
Thanks! Glad you enjoyed it 😃
linewidth bandwidth fit and specific colouring of only rug are not working with latest version
Thanks for the update. Yes, the distplot has been replaced by the displot. You may find that one more useful. Cheers!
bivariate graph is showing error , saying kdeplot takes only 1 input
Yes, I believe you can still make a bivariatr KDEplot but you need to use new syntax. Try sns.kdeplot(data=df, x=‘col1’, y=‘col2’) where df is your pandas dataframe and col1 and col2 are names of your dataframe columns. 👍
most of the parameters are now deprecated or replaced
So it goes for videos about coding libraries 😔- concepts should still be similar but the syntax definitely updates from time to time. Maybe I’ll make a new one… 🤔
Your explanation saves me a lot of time. Thanks a lot.
Excellent - glad to hear it was helpful!
It´s a pretty well done explanation, thank you! :)
Thanks! Glad you liked it 😁
Thanks a lot for this!
Most welcome! Hope it helped 😁
I am form BR 🇧🇷. I liked the simplicity of the video and the material used - a lot of quality and accuracy: from basic to advanced. CONGRATULATIONS
Hello 👋🏼 and thanks for stopping by. So glad to hear you enjoyed the video!
How do you interpret these plots is the most important part for me ...can you please include that in your videos !!
Great suggestion! Perhaps I can make some videos about how to diagnose the information seen in the plots 🤔
Ok
Okay! 👍
It's weird, I generally do quite well academically but I can't for the life of me grasp the difference. If you leave me thinking for a couple of minutes I will be able to tell you which is which but it takes ages
Hope the video helped you then! They are definitely tough to remember 🤔
i have been struggling to understand these... .this is the best vid i ever saw for explanation of precision n recall... please make more such vids... kudos...
So happy to hear that! Any suggestions for other video topics?
Thank you so much
Most welcome! 😃
Hi, I looking at buying your course. I'm from India, and time zones may be an issue. Are these self paced pre recorded sessions? 🤞
Hi, this course features all asynchronous materials so you can access them any time you’d like - no time zone issues! Yes, the videos are pre-recorded, self-paced materials.
Thank you so much! It helped me alot in understanding the underlying concept. I couldn't find other tutorials for kde that teaches so on point!
So glad that helped you - cheers! 😀
At 2:10 the meaning of "total number of apples we have..." is "...we have CLASSIFIED as apples and ARE apples" (3) (rather than "we have in total" (4).
Yes - that's correct. The total number of apples we have (ON THE APPLE SIDE = 3). I've totally forgotten about the orange-side of the model myself! 😆
What subject did you do your PhD? Can I connect over your social media ACC.? If you have any!
Hi there - my PhD is in Applied Mathematics. I created models for the biomechanics of the inner ear. 😀 You can find me on LinkedIn here: www.linkedin.com/in/kimberlyfessel/ 👋
@@KimberlyFessel woah.. I just completed my masters in applied mathematics. Nice to see someone in my branch too. Well I am thinking to pursue PhD in bio informatics or bio-intermediary disciplines.
Awesome - my postdoc was in math bio, too. Very interesting stuff! Congrats on the Master's 👍
@@KimberlyFessel ty mam.
Will be joining for PhD in weather forecasting.😊
Thank you for this great tutorial!
Most welcome - glad you enjoyed it! ☺
This really is the best way for me to remember this. Well done!
So glad that helped you! I love a good mnemonic. 👍
Chunksize!
Yes! Chunksize was so close to making the cut of my favorite arguments to put into this video. (It's even written on the outline I made for the video but then crossed out 😆) I went with nrows instead to limit down the number of rows, but chunksize is great for having little pieces of your dataframe to work with and then throw away before they clog up your memory. This shows a little demo (pandas.pydata.org/pandas-docs/stable/user_guide/io.html#iterating-through-files-chunk-by-chunk), but of course, you would want to perform some actual calculations as opposed to just printing the chunks! 👍
is it possible to create a scatter 3D plot where the axis form a pyramid ladder chart instead of a cubic shape?
Sure, I don't see why not. You would just want to supply an equation for the pyramid shape instead of the cubic shape I have here in the definition of function_z()... may need a piecewise function to make the edges nice and crisp.
Well done 👏
Just bought the course .
Awesome! 👍
I am so very happy, thank you!
Oh so glad it helped you - cheers!
What a great video! Thank you so much for your explanation!
Thank you! You are most welcome and thanks for stopping by ☺