Тёмный
No video :(

How do I filter rows of a pandas DataFrame by column value? 

Data School
Подписаться 243 тыс.
Просмотров 279 тыс.
50% 1

Опубликовано:

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 754   
@Diachron
@Diachron 7 лет назад
Most people would have simply demonstrated the short way, but by taking the time to elucidate what's happening behind the scenes, you're performing a far greater service. Great job.
@dataschool
@dataschool 7 лет назад
Thanks so much for your thoughtful comment! I really appreciate your support.
@trs4184
@trs4184 3 года назад
Him: So here's how you filter out by certain values. Me: *Copies code* Gotacha, thanks. Him: But that's the long way and you'd never actually do that Me: Oh haha of course. *deletes code*
@guptaachin
@guptaachin 8 лет назад
You say just the right words to get the concept and everything behind with lucidity. Thank you. i am a beginner but do not feel like so. :)
@dataschool
@dataschool 8 лет назад
Wow, what a nice thing to say! :)
@samuelgeorge6756
@samuelgeorge6756 6 лет назад
I watch you at 1.5x :-D but like he said even a year later. Nice way to teach. Thank you.
@alexcipriani6003
@alexcipriani6003 6 лет назад
you deserve my tuition money for that
@saimaacademy5537
@saimaacademy5537 5 лет назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-vlf4Pn9nMug.html
@guidogaggl4020
@guidogaggl4020 5 лет назад
Achin Gupta: my words. This guy is awesome
@ThePRINCEBARPAGA
@ThePRINCEBARPAGA 4 года назад
Your voice is so soothing and makes the understanding of concepts much easier and enjoyable. Thank You
@dataschool
@dataschool 4 года назад
Thank you!
@seangriffin3601
@seangriffin3601 4 года назад
3 years later and this dude is still a legend and still saving my ass on basic stuff for work!
@dataschool
@dataschool 4 года назад
Ha! That's great to hear 😎
@zeeshantaj55
@zeeshantaj55 5 лет назад
You are the only man I can understand on RU-vid about Data Science.
@dataschool
@dataschool 5 лет назад
Ha! Thank you :)
@leonardoferigutti9039
@leonardoferigutti9039 3 года назад
Everything you're doing here for us, it's gonna go back to you in a certain way in the future! Thank You a lot for this master piece!!
@dataschool
@dataschool 3 года назад
You are too kind, thank you! 🙏
@user-oj8nq4wn8n
@user-oj8nq4wn8n 6 лет назад
Despite the fact that English is not my native language, these are the best lessons about the Pandas that I saw! Thank you!
@dataschool
@dataschool 6 лет назад
It's great to hear that my videos have been helpful to you! :)
@ASpace25
@ASpace25 3 года назад
It's imperative that you know the logic behind these codes. Thank you Mark for this amazing playlist.
@dataschool
@dataschool 3 года назад
My pleasure!
@LyyrRATM
@LyyrRATM 6 лет назад
There is something charming in how you say "Okay" when you finish a thought :) The video is very helpful. Thanks for putting this up here.
@dataschool
@dataschool 6 лет назад
Ha! Glad my verbal tics are charming :)
@ludovicolaci9582
@ludovicolaci9582 4 года назад
@@dataschool Kevin.verbal_function.finish_thought is this right?
@guillermobarrio55
@guillermobarrio55 4 года назад
When great teaching meets simplicity. Thanks so much!
@dataschool
@dataschool 4 года назад
Thank you so much! 🙏
@lexboegen
@lexboegen 7 лет назад
I like your in-depth explanation of _how_ it works, rather than a "recipe" of "just do it this way" without explaining _why_ it works. Now I'm off to see what other videos on pandas you have!
@dataschool
@dataschool 7 лет назад
Excellent! I'm glad the depth of the explanation was helpful to you! My complete pandas playlist is here: ru-vid.com/group/PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y
@sajeendrann
@sajeendrann 6 лет назад
It's was THAT simple, yeah? I wasted two days trying to figure it out myself. Life saver you are. Thanks for the wonderful vdo.
@dataschool
@dataschool 6 лет назад
You're welcome!
@FergusMcGee
@FergusMcGee 4 года назад
Thank you so much. I'm new to pandas as this was very helpful, I couldn't understand why it wasn't obvious how to filter rows. You explained it so clearly.
@adityaladia3293
@adityaladia3293 4 года назад
Awesome explanation! I have referred to some resources on pandas earlier and felt like i could easily skip your content to get through faster and grab only the unknown piece of code in the process . But the way you explain things it shows your hold on pandas and i am highly motivated to go through the full video. Cheers great job.
@hoomandehghani2035
@hoomandehghani2035 Год назад
Thank you. I believe by showing us the theory behind it, you're helping us remember the method for a far longer period
@dataschool
@dataschool Год назад
You’re very welcome!
@yuriwrlk
@yuriwrlk 7 лет назад
The explanations are really well conceived and you speak so clearly that even the youtube captioner can capture it, subscribed!
@dataschool
@dataschool 7 лет назад
Awesome! Thanks for subscribing, and thanks for your kind comment!
@KingLiongWong
@KingLiongWong 2 года назад
Very clear explanation and make me understand how the logic works behind the filter. Great thanks.
@dataschool
@dataschool Год назад
You're very welcome!
@rohitekka2674
@rohitekka2674 3 года назад
I loved how you showcased every possible way, from the heavy technique of using a for loop and then right to using operators. It made things absolutely clear. Thanks!!
@dataschool
@dataschool 3 года назад
You're very welcome!
@sanaullahkhanhassanzai8432
@sanaullahkhanhassanzai8432 5 лет назад
You are the best Pandas teacher on RU-vid. I saw your previous videos as well but this is by far the best. You made the whole concept so simple. Thank you very much
@dataschool
@dataschool 5 лет назад
Wow! Thank you so much for your kind words! :)
@lucasfrancab
@lucasfrancab 3 года назад
Such a pretty explanation. Now I discovered the 'Why' i use the bracket. Thanks!
@dataschool
@dataschool 3 года назад
You're welcome!
@kingsleyobodomechine933
@kingsleyobodomechine933 5 лет назад
you are a great tutor, taking the long road and then giving the short answer really teaches the concept very well. Thank you sooo much
@dataschool
@dataschool 5 лет назад
You're very welcome!
@rishisagar4695
@rishisagar4695 5 лет назад
Love these, helped with something I was stuck on for 2 days. I'm a beginner, loads of love
@dataschool
@dataschool 5 лет назад
Great to hear!
@bitmagazin303
@bitmagazin303 6 лет назад
Man. You helped million times more than pandas documentary..
@dataschool
@dataschool 6 лет назад
Great to hear! :)
@GurunathHari
@GurunathHari 5 лет назад
You are an amazing presenter. Knowledgeable, fluent, crystal clear. Much respect. Let me know how i can give something back to you.
@dataschool
@dataschool 5 лет назад
Thank you so much! If you want to support me, I'd love for you to join my community of "Data School Insiders" on Patreon: www.patreon.com/dataschool
@RAWRCoding
@RAWRCoding 5 лет назад
Can't believe you do the entire video with so little edits. Amazing!
@dataschool
@dataschool 5 лет назад
It requires a lot of planning... plus it helps that I love teaching this subject and I know it well!
@MichaelCrossUK
@MichaelCrossUK 8 лет назад
Your videos really are terrifically helpful, explaining things thoroughly from base concepts upwards as you do is just brilliant and your explanations are always extremely clear and precise. Thank you so much for all the time you spend on this - I'm tremendously grateful as I'm sure are many others.
@dataschool
@dataschool 8 лет назад
Wow, thank you so much for your incredibly kind words! I'm very glad to hear that you have gotten a lot out of the series.
@flexfpv1707
@flexfpv1707 5 лет назад
This is very helpful! Your accent is so clear and it's very easy to understand you. Thanks!
@dataschool
@dataschool 5 лет назад
Thanks!
@russnagel1
@russnagel1 3 года назад
Thank you. Great content is still great, even 5 years later!
@dataschool
@dataschool 3 года назад
Thanks very much for your kind words!
@renevillalta27
@renevillalta27 4 года назад
Best way to explain, simple and accurate. Thanks
@dataschool
@dataschool 4 года назад
Thank you!
@srijitapal8100
@srijitapal8100 3 года назад
you are really a great teacher. It was so easy for me to understand pandas. Thank you so very much.
@dataschool
@dataschool 3 года назад
You're very welcome!
@mayanknaithani5412
@mayanknaithani5412 6 лет назад
thanks , I learnt more from your videos than other online pandas resources combine
@dataschool
@dataschool 6 лет назад
You're very welcome!
@iccherherbarium9688
@iccherherbarium9688 6 лет назад
a big thanks for putting an end to my last 3 hours' confused state.
@dataschool
@dataschool 6 лет назад
Great to hear!! You are very welcome!
@sapnapatil27
@sapnapatil27 7 лет назад
Very nice tutorials. Easy to understand and to the point. Please prepare more for Data analysis.
@dataschool
@dataschool 7 лет назад
Thanks for your kind words, and for the suggestion!
@VRandAI
@VRandAI 5 лет назад
All the concepts very well explained. Your videos on pandas tutorial are just great !!
@dataschool
@dataschool 5 лет назад
Thanks! :)
@yucelozyazgan
@yucelozyazgan 8 лет назад
he put step by step all the stones in my brain and set the wall! :D Simply great !
@dataschool
@dataschool 8 лет назад
I love the metaphor... thanks for your kind words! :)
@yucelozyazgan
@yucelozyazgan 8 лет назад
;)
@handet.6235
@handet.6235 7 лет назад
Bro, you are just great teacher! Please keep going what you are already doing. I'll buy whatever you produce! God bless you! :)
@dataschool
@dataschool 7 лет назад
Thanks so much, I appreciate it! :) Right now, I only sell one course, called Machine Learning with Text in Python: www.dataschool.io/learn/ But if you want to hear about new courses that I release, just subscribe to my newsletter: www.dataschool.io/subscribe/
@tomhas4442
@tomhas4442 3 года назад
Very nice thurrough explanation! 🙏 thanks
@dataschool
@dataschool 3 года назад
Thank you!
@alessandrosarretta11
@alessandrosarretta11 8 лет назад
Thanks, great step by step learning resource! I already knew the quick answer, but not the reason why it was working :-) Very informative!
@dataschool
@dataschool 8 лет назад
+Alessandro Sarretta You're welcome! I think you will find that understanding how it works in this case will help you to better understand lots of other pandas functionality!
@avallette51
@avallette51 Год назад
I have learned much from your channel. You're a natural for teaching.
@dataschool
@dataschool Год назад
Wow, thank you so much! I really appreciate your kind words and your contribution!! 🙏
@traveltripfamily7486
@traveltripfamily7486 5 лет назад
You are very good teacher! Congrats!
@dataschool
@dataschool 5 лет назад
Thanks!
@venkateshkonangi2353
@venkateshkonangi2353 5 лет назад
Bro... Thanks for your great tutorials. I am beginner. From your videos i could understand the correct concept. Thank you very much.
@dataschool
@dataschool 5 лет назад
Great to hear!
@erikahuerta2140
@erikahuerta2140 8 лет назад
Great videos! I have been struggling with the ideas and concepts behind decision trees and ensembles. I hope these are topics that you will cover in the future and if not, I would really appreciate any resources to gain a deeper understanding of this topic. Thank you!
@dataschool
@dataschool 8 лет назад
Thanks! Regarding decision trees and ensembles, I highly recommend chapter 8 of this book for a conceptual understanding: www-bcf.usc.edu/~gareth/ISL/ Here are videos related to that book: www.dataschool.io/15-hours-of-expert-machine-learning-videos/ For Python code and more resources, see classes 17 and 18 of my data science course: github.com/justmarkham/DAT8 Hope that helps!
@GrumpyDerg
@GrumpyDerg 7 лет назад
Many thanks for revealing the mystery behind the weirdness of the filtering syntax. I've been using it already, but now I realize the reason behind it, which is pretty cool!
@dataschool
@dataschool 7 лет назад
You're very welcome! I find that understanding filtering helps you to better understand how to use pandas as a whole, which is why I decided to explain it. Glad it was helpful to you!
@ravivashatkar5585
@ravivashatkar5585 6 лет назад
Love this video !! Exactly the one I was looking for. THANK YOU !... well explained..
@dataschool
@dataschool 6 лет назад
You're very welcome! :)
@willykitheka7618
@willykitheka7618 Год назад
You're an EXCELLENT TEACHER. Thanks a heap!
@dataschool
@dataschool Год назад
Thank you! 😃
@rahulduvedi3341
@rahulduvedi3341 4 года назад
Sir,your content is the best for pandas. Thanks a Lot
@TR3NDSETR
@TR3NDSETR 4 года назад
Another fantastic video, Im so used to the 8-9 min vidoes now , 13+mins was a bit intense :)
@dataschool
@dataschool 4 года назад
Thank you so much!
@gcm4312
@gcm4312 8 лет назад
Worth watching the whole video but if you are just looking for the shortcut: 9:21
@dataschool
@dataschool 8 лет назад
+Gian Carlo Martinelli Great idea to link directly to it... thanks!
@fupopanda
@fupopanda 6 лет назад
Thanks. I was hoping he would first go straight to the point and then explain afterwords.
@saimaacademy5537
@saimaacademy5537 5 лет назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-vlf4Pn9nMug.html
@abdulaleemseyed7043
@abdulaleemseyed7043 7 лет назад
I am in heaven right now. "You get to understand what things are when you know what it is they do." I really love the fact that you provide the "nuts and bolts" it helps me better understand the "how and the why."
@dataschool
@dataschool 7 лет назад
It's really nice to hear that I've helped you gain some insight on this!
@OxanaGafaitiGO
@OxanaGafaitiGO 7 лет назад
Many thanks for your tutorials. They are powerful. You make complex things easier. Thank you for your work.
@dataschool
@dataschool 7 лет назад
Thank so much for your kind comment! I'm glad they are helpful to you!
@rockspeed2010
@rockspeed2010 7 лет назад
Awesome !! Your explanation is very clear and easy to follow. Keep up the good work !
@dataschool
@dataschool 7 лет назад
Thanks for your kind words!
@mylovelykids5795
@mylovelykids5795 6 лет назад
amazing explanation. thanks for your time and patience to educate all.
@dataschool
@dataschool 6 лет назад
Glad it was helpful to you!
@alabtv4879
@alabtv4879 3 года назад
Explained with brilliance! Congrats.
@dataschool
@dataschool 3 года назад
Thank you!
@RufusVidS
@RufusVidS 6 лет назад
Your series is terrific, only one issue, as has been mentioned before in these comments: "boolean" has 3 syllables.
@dataschool
@dataschool 6 лет назад
Glad you like the videos!
@thomasquer452
@thomasquer452 4 года назад
I felt like my dog could understand this. Thank you
@mohammadfahim8870
@mohammadfahim8870 6 лет назад
Thanks !! I was looking for something very specific and 2 of your videos was just right on point ... just subscribed !!
@dataschool
@dataschool 6 лет назад
Awesome! Thanks for subscribing :)
@seshu124
@seshu124 6 лет назад
The best ever Python site! Many thanks for time and effort !!
@dataschool
@dataschool 6 лет назад
You're very welcome!
@GiggsBeckham
@GiggsBeckham 5 лет назад
I've learnt so much through watching this one video. Thank you. Now, I may need to re-write some my existing codes to make it more efficient and simple to comprehend. :-)
@dataschool
@dataschool 5 лет назад
Great to hear!
@muradjahangir
@muradjahangir Год назад
Thanks so much! Excellent step by step explanation of the concept and method! Your clear explanation shows how well you have those concepts and logic embedded in you brain 🙂 Must subscribe!
@dataschool
@dataschool Год назад
Thank you so much, Murad! I really appreciate your kind words, and also for joining as a channel member! 🙏
@romanhar4151
@romanhar4151 4 года назад
Best explanation I found so far. Thank you very much! But there is a tiny but very important bit missing: How can I filter by MORE then one criteria?????????
@romanhar4151
@romanhar4151 4 года назад
have found it: www.dataschool.io/python-pandas-tips-and-tricks/#filteringrowsbycondition Thanks :-)
@dataschool
@dataschool 4 года назад
See this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YPItfQ87qjM.html
@lonathompson1635
@lonathompson1635 6 лет назад
pandasDoc < dataSchool = True
@dataschool
@dataschool 6 лет назад
Ha! Thanks :)
@hkrocksta
@hkrocksta 3 года назад
Saved me so much time. Thanks for this !
@dataschool
@dataschool 3 года назад
Great to hear!
@wampepatrick
@wampepatrick 6 лет назад
Great job ! I like the sensation when you feel more smarter because you understand something clearly ;-) #FromFrance
@dataschool
@dataschool 6 лет назад
Ha! Great to hear :)
@immanuelsuleiman7550
@immanuelsuleiman7550 4 года назад
Expertly explained. Well done
@dataschool
@dataschool 4 года назад
Thank you!
@ajmolinaro
@ajmolinaro 4 года назад
Good afternoon. "Long time listener, first time caller." I really like your videos and your teaching style. As others have noted, you explain things clearly and in digestible and understandable chunks, which I appreciate. I have a question and/or a request for Q&A video. I am comparing dataframes. I am using a merge statement and a "fulll outer join". This works well for identifying records from both dataframes that do not match each other. Going a step further, I'd like to identify the individual attributes (i.e., columns) that do not match. My use case is that I often compare extremely wide datasets (200+ columns) and it is sometimes difficult to find the "offending/differing" column(s). I have researched at various places online, and have yet to find a solution that truly fits my needs.
@dataschool
@dataschool 4 года назад
Thanks for your kind words! That's an interesting question, I'm not sure if I 100% understand. It would be super helpful if you could code up a simple example (just a few columns) of what you are currently doing and explain exactly what your goal is. Thanks!
@jaywiji
@jaywiji 4 года назад
Your explanations are so clear. Thanks
@subbuktek
@subbuktek 7 лет назад
Beautiful teaching technique. You purposefully did it the long way first. Wow!. So the condition that I always used in [ ] in pandas is actually just a Boolean Series whose length matches the length of the dataframe.
@dataschool
@dataschool 7 лет назад
Exactly! :)
@grchoudhary5259
@grchoudhary5259 10 месяцев назад
your way of teaching is awesome!!!!! Thanks bro
@dataschool
@dataschool 10 месяцев назад
Thank you so much! 🙌
@xiao2634
@xiao2634 7 лет назад
Like your video. Very detailed and clear step-by-step explanation!
@dataschool
@dataschool 7 лет назад
Thanks!
@chinmoly6428
@chinmoly6428 5 лет назад
movies[movies.duration>=200]
@mattymallz4207
@mattymallz4207 4 года назад
Thanks Molly!
@asgaraliyev8740
@asgaraliyev8740 4 года назад
how can i do this by removing NaN
@shobharoy2033
@shobharoy2033 7 лет назад
You just saved me a few hours reading a boring(and expensive) book on Python
@dataschool
@dataschool 6 лет назад
Ha! That's great to hear!
@stoyanradev2943
@stoyanradev2943 6 лет назад
Hey man, you are doing a great work! I have the following question, though: What if I want to filter the data frame by a column that contains a list (actors_list) but only if an exact element (string) is present in that list? Let's say "I want every movie (data frame row) in which Al Pacino plays" ? Thank you in advance and keep up the good work!
@dataschool
@dataschool 6 лет назад
Thanks! I think this will help you: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bofaC0IckHo.html
@rprana12777
@rprana12777 6 лет назад
Great teacher, practically my mentor haha
@dataschool
@dataschool 6 лет назад
Ha! :)
@dkfaust
@dkfaust 8 лет назад
BOO-lee-an These are great though.
@dataschool
@dataschool 8 лет назад
Glad you like the series!
@scodaddyyy
@scodaddyyy 7 лет назад
This was driving me a bit nuts too, but you're not quite right either. Named after George Boole, it's pronounced "Boole - ee - an"
@heathergray4880
@heathergray4880 4 года назад
Maybe I am insane because the mispronunciation of Boolean (which should be "BOOL-EE-UN") made this video very hard to watch. :( Information is great. Too bad I'm such a freak. lol
@yashraut9977
@yashraut9977 3 года назад
Lots of love from India 🙏🙏 you have done a great job sir thank you.
@dataschool
@dataschool 3 года назад
You're welcome!
@brijkishortiwari2077
@brijkishortiwari2077 4 года назад
Thank you very much sir for all your videos. its really a great experience and help to learn many things.
@dataschool
@dataschool 3 года назад
Thanks!
@Jonas89offsuit
@Jonas89offsuit 5 лет назад
Boolean is three syllables. Thanks for your videos!
@dataschool
@dataschool 5 лет назад
You are very welcome!
@vivekprajapati489
@vivekprajapati489 4 года назад
thanks. was great help 1 points if u can tell: how to use multiple condition in the the data frame and select multiple columns of the same date frame
@reneebutouy
@reneebutouy 6 лет назад
You have outstanding skills to teach. Thank you.
@dataschool
@dataschool 6 лет назад
You're welcome!
@aegystierone8505
@aegystierone8505 4 года назад
Never knew loc is a powerful filter tool!
@alexandercrump2298
@alexandercrump2298 7 лет назад
@AchinGupta I completely agree. You break down the methods so they are very easy to understand. This is definitely helped by the fact that you have a solid grasp of pandas! Thanks again
@dataschool
@dataschool 7 лет назад
Thanks for your kind comment! :)
@leandrorberto
@leandrorberto 2 года назад
You're an expert!!! Thank you so much!
@dataschool
@dataschool 2 года назад
Thank you!
@fourten0410
@fourten0410 6 лет назад
Great videos and very clear explanations, thank you!
@dataschool
@dataschool 6 лет назад
Thanks!
@forweb2411
@forweb2411 2 года назад
Wow, that's such a lucid explanation of things. Thank you so much for this fantastic effort👍👍👍. Can you please point towards a resource or let me know how to add multiple conditions like AND / OR etc?
@dataschool
@dataschool 2 года назад
Thanks for your kind words! See here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YPItfQ87qjM.html
@forweb2411
@forweb2411 2 года назад
@@dataschool Thanks a lot for your prompt reply.
@tasneemhegde9588
@tasneemhegde9588 3 года назад
You are an amazing teacher.... So clear and so succinct
@dataschool
@dataschool 3 года назад
Thank you!
@leythecg
@leythecg 4 года назад
A really understandable and good explanation!
@dataschool
@dataschool 3 года назад
Glad it was helpful!
@juanmarcusfabregas3139
@juanmarcusfabregas3139 2 года назад
Lifesaver, i can't thank you enough!!!
@dataschool
@dataschool 2 года назад
You're very welcome!
@jillandersen4912
@jillandersen4912 3 года назад
This video was great! Thanks. I have a dataframe that I need to pair 2 rows of data, each have there own timestamp, drop the second timestamp and then filter the data with these pairs. I have alot of data to sort through, any help would be great
@kieranbrugman4614
@kieranbrugman4614 3 года назад
Really great walkthrough, thank you!
@dataschool
@dataschool 3 года назад
My pleasure!
@jd5787
@jd5787 5 лет назад
I had to put Python on the back-burner for too long, back in the game now ;) Great series to get up to speed quickly on some key topics.. Quick question: how do we sort the rows in an ascending / descending way after applying the "movies.duration >= 200" ?
@jd5787
@jd5787 5 лет назад
Answering my own question: just add a ".sort_values('duration')" after the code and boom, it works ;) Got to love Pandas.
@dataschool
@dataschool 5 лет назад
Glad you figured it out! Those should be parentheses not brackets, just an FYI for anyone else who comes across this.
@jd5787
@jd5787 5 лет назад
@@dataschool correct, edited for accuracy. Thanks!
@erfannazari6110
@erfannazari6110 4 года назад
best python class you can be at
@dataschool
@dataschool 4 года назад
Thanks!
@GeorgeChar95
@GeorgeChar95 5 лет назад
Thank you so much! Thanks to you, i have finally entirely solved my problem!!! I love how you fully explain everything!! I very much enjoyed this. I'm new to your channel but you sir have earned a Subscribe! I will definitely be back for more videos!
@dataschool
@dataschool 5 лет назад
That's awesome to hear! Congrats 👍
@mattymallz4207
@mattymallz4207 4 года назад
Dido^
@sid-nejad
@sid-nejad 5 лет назад
I really enjoyed watching this movies and found it helpful. Thanks
@dataschool
@dataschool 5 лет назад
Great to hear!
@ybanrab10
@ybanrab10 7 лет назад
Very well done. You should work for DataCamp or some other online school if you don't already!
@dataschool
@dataschool 7 лет назад
Thanks! I've talked to various online schools about teaching for them. Do you use DataCamp? What do you think about their platform?
@ybanrab10
@ybanrab10 7 лет назад
Yes, I took their online Intro to Python for Data Science class. Good teaching of very basic stuff. Their platform was easy and intuitive to learn and use. Not perfect, though. I like Jupyter notebooks better!
@dataschool
@dataschool 7 лет назад
Thanks for your feedback about DataCamp! I really appreciate it.
@Maybe4433
@Maybe4433 4 года назад
Awesome video, loved the intuitive explanation!
@dataschool
@dataschool 4 года назад
Great to hear!
@mselim-o7p
@mselim-o7p 5 лет назад
That is so powerful explanation! Thank you!
@dataschool
@dataschool 5 лет назад
You're very welcome!
@shtarkbsrb8793
@shtarkbsrb8793 2 года назад
Very well explained! I was able to filter some data from a huge CSV file with your help! My first python program! =) import pandas as pd df = pd.read_csv('huge.csv',delimiter=";") chosen_ncm = 27129000 booleans = [] for ncm in df. CO_NCM: if ncm == chosen_ncm: booleans.append(True) else: booleans.append(False) filtered_ncm = pd.Series(booleans) out_csv = 'filter_result_' + str(chosen_ncm) + '.csv' df[filtered_ncm].to_csv(out_csv)
@asneogy
@asneogy 8 лет назад
Hi Kevin! Thank you so much for the .loc tip! I was finally able to solve one of the things that annoyed me the most: assigning values to a new column based on values in one or more existing columns :) I sometimes prefer using .ix rather than .loc, since .ix is a flexible wrapper over .loc and can handle both label and numeric row selections. The syntax is strangely reminiscent of the R data,table [i, j, by] format, which I find very handy. Thanks again!
@dataschool
@dataschool 8 лет назад
You're very welcome! I will have a video about loc/iloc/ix in the next few weeks :)
@asneogy
@asneogy 8 лет назад
excellent - looking forward to it!
@dataschool
@dataschool 8 лет назад
Here is my brand new video about loc/iloc/ix: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-xvpNA7bC8cs.html Enjoy! :)
@dataschool
@dataschool 8 лет назад
You might also find my latest video to be useful, about the SettingWithCopy warning: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4R4WsDJ-KVc.html
@goingfurther8092
@goingfurther8092 2 года назад
This was such a good explanation
@dataschool
@dataschool 2 года назад
Thank you!
@JustinLeu1
@JustinLeu1 7 лет назад
Awesome breakdown and explanation, thanks!
@dataschool
@dataschool 7 лет назад
You're very welcome!
Далее
PEDRO PEDRO INSIDEOUT
00:10
Просмотров 3,5 млн
Девочки, у вас тоже так? 💅🏻✨
00:17
How do I find and remove duplicate rows in pandas?
9:48
How do I merge DataFrames in pandas?
21:49
Просмотров 158 тыс.
What do I need to know about the pandas index? (Part 1)
13:37
How do I use the MultiIndex in pandas?
25:01
Просмотров 173 тыс.
How do I make my pandas DataFrame smaller and faster?
19:06
My top 25 pandas tricks
27:38
Просмотров 267 тыс.