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....
  • НаукаНаука

Комментарии • 13

  • @hull39
    @hull39 3 месяца назад +1

    Your videos are great!!! Thanks so much for the concise, clear explanations. You Rock!!!

    • @ReuvenLerner
      @ReuvenLerner  3 месяца назад

      Thanks so much for your kind words! Hoping to do more videos very soon...

  • @xiaoyangshawnhuang1251
    @xiaoyangshawnhuang1251 11 месяцев назад +1

    thank you so much, you made me love pandas' filter now. 😃

  • @christophertyler1882
    @christophertyler1882 Год назад +1

    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.

    • @ReuvenLerner
      @ReuvenLerner  Год назад

      Oh, absolutely - tons of Pandas functionality reflects the long history of SQL, and how useful it is!

  • @manta_r4y249
    @manta_r4y249 Год назад +1

    Awesome video!

  • @jitendravishwakarma7949
    @jitendravishwakarma7949 Год назад +1

    Regular expressions are great 😃

    • @ReuvenLerner
      @ReuvenLerner  Год назад

      I agree! (But some people really *really* hate them...

  • @s.w.5169
    @s.w.5169 Год назад +1

    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?

    • @ReuvenLerner
      @ReuvenLerner  Год назад

      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.

    • @s.w.5169
      @s.w.5169 Год назад +1

      Thanks for the quick answer.