Python Pandas Tutorial (Part 4): Filtering - Using Conditionals to Filter Rows and Columns

  Рет қаралды 456,241

Corey Schafer

Corey Schafer

Күн бұрын

Пікірлер: 321
@darshantawte7435
@darshantawte7435 4 ай бұрын
Even in 2024 this is still the best tutorial out there for pandas. With AI becoming capable of performing EDA and data analysis (atleast elementary which is still better than many newbie analysts), i wonder how pandas will keep up with it.
@douma8037
@douma8037 Ай бұрын
bro but i guess building large scale AI models from scratch will definitely need pandas regardless of AI being able to do EDA and Data Analysis
@darshantawte7435
@darshantawte7435 Ай бұрын
@@douma8037 Yeah data cleaning will play a major role even in the future.
@douma8037
@douma8037 Ай бұрын
@@darshantawte7435 yes! We’d need pandas for that.. unless some AI comes into play of course..
@qualjyn2
@qualjyn2 4 жыл бұрын
Nothing like waking up a Saturday morning, and catching up on Coreys Python Pandas tutorial over a good cup of coffee :) @Corey, keep up the good work - it is really appreciated!
@sidneysousa3520
@sidneysousa3520 4 жыл бұрын
I said it! This is like Netflix :)
@onyekachinelson6999
@onyekachinelson6999 2 жыл бұрын
Okay. Today is Saturday. Lemme watch it and see for myself. Thanks!
@onyekachinelson6999
@onyekachinelson6999 2 жыл бұрын
The lesson is fantastic 👏
@cordularaecke
@cordularaecke 4 жыл бұрын
This is the best explanation of pandas dataframe boolean filtering I've ever seen - especially the inverse filter using the tilde - excellent - this is SO useful. Thank you
@parols1160
@parols1160 4 жыл бұрын
I guess 'flawless' is the only appropriate adjective for this whole series you are doing. Congrats from Italy Corey, keep it real!
@tolulopeadedoyinadedoyin5239
@tolulopeadedoyinadedoyin5239 3 жыл бұрын
Corey is the best tutor , I have seen so far....He explains with ease and simplicity....More grace
@user-g5rt89
@user-g5rt89 13 күн бұрын
There's nothing in your videos that can't be understand. Absolutely crystal clear explanation. Thanks Corey, 4 years later, from India.
@akiratoriyama1320
@akiratoriyama1320 4 жыл бұрын
Like THE BEST pandas tutorial on internet. Thanks again Corey!!
@ashylarry3442
@ashylarry3442 4 жыл бұрын
I let your ads play all the way thru. Fives minutes in exchange for what you’re giving...light work. Keep it up brotha!
@mintymintfresh
@mintymintfresh 3 жыл бұрын
There is no better teacher on python than corey... He is simply the best one... I got to learn flask .. All thanks to corey.. There are thousands of students whom u are making a better programmer every day ...
@niralpatel3369
@niralpatel3369 4 жыл бұрын
You're a great man Corey Schafer, This is the best channel ever on KZbin. Thanks form India.
@shanplays6001
@shanplays6001 4 жыл бұрын
Great series. I would recommend going through these tutorials once with the given dataset, and then going through it again using a dataset you're interested in. Dw, it will go alot faster the 2nd time around, and you'll get great practice actually finding insights you care about.
@Shailswap14
@Shailswap14 4 жыл бұрын
I have referred to three video tutorials/courses before this and this is by far the best course on pandas with complete coverage. You deserve a million likes for this series. This course is priceless.
@nascentnaga
@nascentnaga 4 ай бұрын
this is fresh in 2024 :)
@in_ashish
@in_ashish Ай бұрын
Corey is the reason i will be able to earn my bread and butter. Can't thank enough!
@pierreroux-lafargue8227
@pierreroux-lafargue8227 4 жыл бұрын
You're a good man Corey Schafer, thanks for the quality content.
@motlatsimoea5615
@motlatsimoea5615 2 жыл бұрын
Of all the teachers I have come across on KZbin, you are my favorite. The way you explain. The example exercises you use are simple enough to comprehend while also making me feel like I could handle bigger problems. I learned Django from you as well. Thank you for all your work!
@larz4437
@larz4437 4 жыл бұрын
The often imitated, never duplicated, Corey Schafer. You're truly the python guide GOAT and us noobs bow before you. Thank you so much for this series and all your work.
@edilgin622
@edilgin622 4 жыл бұрын
i started learning python basics with you and i just cant believe how much i improved myself this year, thanks a lot!
@j3553hh
@j3553hh Жыл бұрын
Your videos are so rich with practical guidance that I'm pausing every 90 seconds to make notes. This one took me three hours to get through.
@MeherabHossainRaiyan
@MeherabHossainRaiyan Ай бұрын
I think it is the best tutorial i have ever seen in youtube. Good explanation sir.
@pythonstuff8633
@pythonstuff8633 4 жыл бұрын
Bro you have no idea what help you are giving us.Thank You Keep doing what you do!
@JoshuaMurangaBauer
@JoshuaMurangaBauer Жыл бұрын
Your contents will never go obsolate mate. Pure Gold.
@Historiaplaying
@Historiaplaying 4 жыл бұрын
Corey, you're a god of teaching, you don't leave out anything unexplained. Thank you
@akintonaolawalesamuel2236
@akintonaolawalesamuel2236 4 жыл бұрын
Lucid. Concise. Thanks a bunch, Corey, for all you do to make us Pythonistas
@Lars7878
@Lars7878 4 жыл бұрын
I love that .Str.contains filter, that is a brilliant idea, I never came up with.
@clexyk
@clexyk 3 жыл бұрын
Corey, your tutorials of Python are the best stuff I have ever seen. The ones on Pandas is again of very high quality.
@JoshuaDHarvey
@JoshuaDHarvey 4 жыл бұрын
19:22 let us know when you do a video on strings! Can't wait for that and if you need any suggestions on any of the methods in the pandas .../text.html let us know! Thanks for all your hard work Corey!
@YeekyYeeky
@YeekyYeeky 4 жыл бұрын
Corey Schafer is really great at explaining things , thank you very much !
@TopBagon
@TopBagon 4 жыл бұрын
Your tutorials are the best ones I've ever seen in my life ._. thanks you so much for those, we appreciate this a lot *Simply Amazing*
@HaoranZhang-jc8fq
@HaoranZhang-jc8fq 3 ай бұрын
Your lectures are so great!!
@Takk6
@Takk6 4 жыл бұрын
I rarely comment but I've watched alot of Pandas tutorials on youtube and this is by far the best one Ive seen. Subscribed. Will you be doing a Scikit-learn tutorial in the future?
@coreyms
@coreyms 4 жыл бұрын
Thanks! And yes, I will be covering that, but I don’t have a timeframe of when this will be yet.
@chrissteele9540
@chrissteele9540 4 жыл бұрын
You have a way of making any topic seem sooo simple... You're an incredible teacher! I owe most of my python skills to you btw ─ thanks :) Please keep the videos coming!
@MrGokTR
@MrGokTR 4 жыл бұрын
Thanks for sharing such an amazing series. You are basically representing the Zen of Python in person!
@fuzzywuzzy318
@fuzzywuzzy318 3 жыл бұрын
I'am from china !!!!!I am your new audiance ,and feel your video is really helpful!!!!!!!thanks!!!
@sshbk5878
@sshbk5878 2 жыл бұрын
Corey is the best, following you since 2020
@cudanakiju0
@cudanakiju0 3 жыл бұрын
I'm reviewing your tutorial for my interview, that's awesome! Just to clarify one thing (part staring at ~7:00) - when combining conditions, you MUST put separate conditions into parenthesis, otherwise pandas will most likely throw quite ugly and non-intuitive error. I think that should be stressed, wasted some time on it once ;)
@josephsteen230
@josephsteen230 4 жыл бұрын
As per your request: I would like to see you upload a video about truth tables. I like the way you explain things, Corey. Your Panda series is helping a lot. So thanks for what you do!
@arifchowdhury7089
@arifchowdhury7089 2 жыл бұрын
So easy when Corey explains
@ndiayemodou3474
@ndiayemodou3474 4 жыл бұрын
There is also someone from Senegal west Africa :) you are amazing !
@kapibara2440
@kapibara2440 7 ай бұрын
Your audience is also from Poland. Thank you Corey :)
@Cloudjiek
@Cloudjiek Ай бұрын
I second that!
@lilahinzelbergyifa292
@lilahinzelbergyifa292 4 жыл бұрын
Corey, this is simply great! Thanks!
@rudiklein
@rudiklein 4 жыл бұрын
What can I say...great job with this series. Again.
@crazybigworld9357
@crazybigworld9357 2 жыл бұрын
Thank you Corey. You're one of my best Python Teachers.
@zahidkamil7833
@zahidkamil7833 4 жыл бұрын
Can't wait for the string method you said in pandas. I am really looking forward for that. Thank you so much for all your effort and help! :)
@vijaybabu3923
@vijaybabu3923 4 жыл бұрын
Very fluid explanation of Pandas 👌 thanks Corey !
@kingveelatte41
@kingveelatte41 3 жыл бұрын
Found this channel couple weeks ago, and I watch it almost everyday know, like watching fiction series i love. Thank you Corey for amazing video (I forgot if I already comment like this in another video but yeah Thank you as always)
@rishikambhampati2862
@rishikambhampati2862 4 жыл бұрын
Though we have an idea of the concept, there will always be something new to learn from your videos. As usual thanks a lot.
@kingkai129
@kingkai129 4 жыл бұрын
I'm so thankful that I found your channel!!!!
@jeanaimegakwerere5359
@jeanaimegakwerere5359 7 ай бұрын
Love how you filtered comma rows with comma separated data👋
@abanerjee3704
@abanerjee3704 4 жыл бұрын
That was the best quality content on Pandas. Keep it up brother. ALL THE BEST.
@mazensleiman3863
@mazensleiman3863 3 жыл бұрын
a big fat thank you Corey, that is one amazing video. and I will definitely watch the whole series
@prmurali1leo
@prmurali1leo 3 жыл бұрын
This is awesome, Coreys in the best tutor ever i have experienced
@jasonbwaljones
@jasonbwaljones 3 жыл бұрын
This is the holy grail series for Pandas in 2021
@KeithFlint350
@KeithFlint350 2 жыл бұрын
Proper tutorial with a proper English
@압둘하미드이드리스
@압둘하미드이드리스 3 ай бұрын
Thanks for the 'data filtering' code as it helped in my project.
@gibranportillo5876
@gibranportillo5876 4 жыл бұрын
You're the best. thanks so much!! Greetings From Mexico
@pythonwala510
@pythonwala510 4 жыл бұрын
Your video of pandas series is very helpfull for me to underatand python. I like your way of delivering the explanation. I'm eagerly waiting for your next video.
@shamseshifat7825
@shamseshifat7825 4 жыл бұрын
Your in-depth knowledge in python is astonishing! The thing that always amazes me is, when you finish explaining a topic and I ask myself " Now what if I try to do that?" kinda questions and within no seconds I see you explaining the same question! 😳 Do you mind read your viewers or what? 😅 Anyways, you are a legend
@tarunmahendra4233
@tarunmahendra4233 3 жыл бұрын
this is the best one ever. Really enjoying this series Thanks Corey!!
@felipegutierre7037
@felipegutierre7037 2 жыл бұрын
Corey, your job is awesome, thank you for this free content!
@saikiranedits802
@saikiranedits802 4 жыл бұрын
Very very thankful for your videos. ❤ from INDIA
@junaidmalik9593
@junaidmalik9593 4 жыл бұрын
your playlist is amazing. to be honest i have taken dozens of courses online for python on many platforms but non of those have been completed beyond 20 %. looking forward to gain the skill here at least, as its fun to hear and v understandable
@nicholasmaloof8378
@nicholasmaloof8378 4 жыл бұрын
Would you be willing to do a video on numpy?
@JoshuaDHarvey
@JoshuaDHarvey 4 жыл бұрын
I'm pretty new to python in general but isn't most of pandas built on numpy, so I imagine there is quite a bit of common ground between the two libs?
@jeetpatel6679
@jeetpatel6679 4 жыл бұрын
kzbin.info/www/bejne/h4a3Yol-nrGgo6s his tutorial is good
@deepdoshi2734
@deepdoshi2734 4 жыл бұрын
@@jeetpatel6679 Thank you
@sensei249
@sensei249 4 жыл бұрын
@@jeetpatel6679 that's the best available video for numpy, even i was going to suggest it. after 1 hour lecture you are ready to go.
@alenjose3903
@alenjose3903 4 жыл бұрын
@@jeetpatel6679 thanks
@anuragshukla7813
@anuragshukla7813 4 жыл бұрын
Thank you so much for posting the high quality and so knowledgeable video on youtube. And this is the best channel ever channel on youtube I have seen. You are doing great work keep it up, brother. Thank you again for these type videos, Please keep on posting these type of video in the future also.
@Fantasy7117
@Fantasy7117 11 ай бұрын
I'm loving your lessons😊 thank you
@dataguy3553
@dataguy3553 2 жыл бұрын
thank you so much Corey for this Pandas playlist, I love them, they are super helpful.
@KeithFlint350
@KeithFlint350 2 жыл бұрын
4:20 if the filter is saved as a variable then you can easily use it many times in the code. Doesn't matter for a presentation at school, but matters a lot when you're building an actual app
@muntadher8087
@muntadher8087 2 жыл бұрын
Thank you Corey!! Amazing video
@sartajsingh8459
@sartajsingh8459 2 жыл бұрын
Thank you so much for making these videos. They are really helpful to me in learning ML and AI
@danielflorea3001
@danielflorea3001 2 жыл бұрын
Really a pragmatic video on Pandas. Great work
@eduardolima5495
@eduardolima5495 3 жыл бұрын
Really, I'm so thankful for this series!! I really really appreciate your effort to make those videos and teach me something new!
@auroshisray9140
@auroshisray9140 4 жыл бұрын
Your tutorials are well structured and easy to understand. Thank you so much
@sergiomunozblanco3843
@sergiomunozblanco3843 3 жыл бұрын
I don't understand the people that vote negative to these video lectures. They are really clear, they are concise, they are practical and they are interesting. Why?
@kapibara2440
@kapibara2440 7 ай бұрын
These must be some internet troll, no need to thank about them. Just ignore them.
@atulkumar7030
@atulkumar7030 4 жыл бұрын
He is an awesome tutor! Boss really impressed by your videos. Please start with ML based contents soon.
@eltorayy11
@eltorayy11 3 жыл бұрын
I really like the way you explained! Thank you so much
@libertarianmonk7013
@libertarianmonk7013 Жыл бұрын
Thank you very much! The last command was the one I was looking for 😊
@jorginh05
@jorginh05 2 жыл бұрын
You saved my life!!! thank you for the content
@SotovisionHD
@SotovisionHD 4 жыл бұрын
THANKS! finally I get the filtering from pandas.
@mikshubhatt1175
@mikshubhatt1175 3 жыл бұрын
i appreciate your work. you are putting some serious efforts in your videos.
@Rajesh-nb9de
@Rajesh-nb9de 3 жыл бұрын
This is the best library to learn pandas... love from india
@roywilson9580
@roywilson9580 4 жыл бұрын
Thanks, Corey for uploading this interesting, useful and educational video. It was a great help in understanding the process of filtering data in Pandas. Will be really useful to me.
@muhammedyousri4080
@muhammedyousri4080 2 жыл бұрын
Very useful as always , Thanks a lot Corey.
@MrBoaredman
@MrBoaredman 3 жыл бұрын
This Tutorial, and you Sir, are life savers. Thank you so much
@robertobr234
@robertobr234 2 жыл бұрын
I have watched this video many times. When I forget how to use LOC I come here to remember. It's one of the most useful functions in Pandas.
@shantanukaushikmathoholic
@shantanukaushikmathoholic 6 ай бұрын
awesome, this series is going good...
@alejandropaloalto538
@alejandropaloalto538 2 жыл бұрын
Thanks Corey, I see you from Mexico
@MehmoodAhmedMooD
@MehmoodAhmedMooD 3 жыл бұрын
Thanks a lot for your superb tutorials man. Just the right amount of info for beginners
@paulosergioschlogl9550
@paulosergioschlogl9550 4 жыл бұрын
You do a awesome job man!
@nikolastamenkovic7069
@nikolastamenkovic7069 2 жыл бұрын
Great tutorial series!
@crackyflipside
@crackyflipside 4 жыл бұрын
Fantastic work as usual!
@thefireagen
@thefireagen 4 жыл бұрын
So far so good explanation..I have been watching the series since its started...I came again to revise. just a quick suggestion from my side...please give a suitable name to filter variable so that it will look readable if someone wants to understand whats happening.
@ShafrazThawfeek
@ShafrazThawfeek 4 жыл бұрын
Love from Sri Lanka!
@anubhavrauniyar3192
@anubhavrauniyar3192 2 жыл бұрын
We Love You Corey! Thanks
@SuperBhavanishankar
@SuperBhavanishankar Жыл бұрын
15:34 this SAVED MY INTERVIEW! 😗😗😗😗
@hameem6845
@hameem6845 4 жыл бұрын
Just came to like. Will watch later.
@AmitMKrishnaR07
@AmitMKrishnaR07 2 жыл бұрын
Thank you! It's a great tutorial about Pandas!
@paulohsgoes1959
@paulohsgoes1959 2 жыл бұрын
Just brilliant! Congrats
@BenBen-ox7xv
@BenBen-ox7xv 3 жыл бұрын
You are the king! Save my life
@dmitrishostakovich3156
@dmitrishostakovich3156 4 жыл бұрын
There's a little mistake at 9:20. The opposite of this conditional has & instead of |. So: filt_2 = (df['last'] == "Schafer") | (df["first"] == "John") ~filt_2 = (df['last'] == "Schafer") & (df["first"] == "John") Still, great videos. I'm very grateful. Please keep it up.
@pouyarahimpour484
@pouyarahimpour484 Жыл бұрын
When negated the filt statement (9:19) you should have said 'and' instead of 'or'. Thanks for this great series.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
How to filter a pandas DataFrame | 6 HELPFUL METHODS
17:27
Chart Explorers
Рет қаралды 30 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 307 М.
Exploratory Data Analysis with Pandas Python
40:22
Rob Mulla
Рет қаралды 473 М.
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 270 М.
Pandas Query Filter Function Guide [Beginner Friendly]
14:46
Ryan & Matt Data Science
Рет қаралды 3,8 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 806 М.