Data selection in Pandas with "filter"
HTML-код
- Опубликовано: 28 июн 2023
- Want to select particular columns from your data frame? The "filter" method lets you name the columns, or select them via substrings or even regular expressions. It can similarly retrieve rows via the indexes.
In this video, I introduce the "filter" method, and show you how/where to use it. You'll soon be able to select rows and columns like a pro.
The Jupyter notebook for all of my videos are at github.com/reuven/youTube-not.... Наука
Your videos are great!!! Thanks so much for the concise, clear explanations. You Rock!!!
Thanks so much for your kind words! Hoping to do more videos very soon...
thank you so much, you made me love pandas' filter now. 😃
Right, isn't it great?
The more I have been learning SQL, the more I start seeing aspects of it in Pandas. I need to get back to reading both your Regular Expression and Pandas book.
Oh, absolutely - tons of Pandas functionality reflects the long history of SQL, and how useful it is!
Awesome video!
Thanks so much!
Regular expressions are great 😃
I agree! (But some people really *really* hate them...
Hello, I have a question regarding the MEAP for your book, "Pandas Workout". Does the MEAP cover pandas 2.0 or is it based on an earlier version?
Pandas hasn't changed that much, so it shouldn't make a difference. But I'm still editing the manuscript, and I'm adding as many updates as I can, including mentions of pandas 2 functionality.
Thanks for the quick answer.