Pandas Exercises for Data Analysis (Interactive)

(machinelearningplus.com)

35 points | by selva86 4 days ago

5 comments

  • 0x696C6961 51 minutes ago
    Would be nice to have a polars version of this.
  • rithdmc 55 minutes ago
    Dope. I've just started using Pandas in some personal projects, and am quickly hitting my knowledge ceiling. I think this will be useful. I'll check it out properly after work.
    • derriz 38 minutes ago
      If I were investing effort into acquiring knowledge in this domain, I'd skip straight to Polars. Before I made the switch, I had been using Pandas on and off for more than a decade. I'm not sure how representative this is, but most of the people I know who were Pandas users have also made this switch. I initially did it for the performance improvements but the API (according to my subjective opinion) is much more logical and has far fewer surprises compared to Pandas and it would be my default choice for this reason alone at this stage despite my years of Pandas experience.
      • rithdmc 27 minutes ago
        Thanks, I'll look into this in the future. I don't need the most performant script, but this could change.
        • ertgbnm 12 minutes ago
          It's less about performance and more about ecosystem lockin. It's a bit like imperial vs metric units. Why would you ever chose to learn imperial if you had the option to only ever use metric to begin with?
          • rithdmc 3 minutes ago
            Because these are silly personal scripts. I'm not going to make sensible architectural decisions on something I run every now and then on my laptop. That's optimising too early.
    • data-ottawa 51 minutes ago
      You should check out the Modern Pandas series by Tom Augspurger, it’s well worth reading to get clean modern style code.

      https://tomaugspurger.net/posts/modern-1-intro/

      • rithdmc 28 minutes ago
        Thanks. There's a special place in my heart for any blog that opens with 'Prior Work' :)
      • pixelispoint 33 minutes ago
        [dead]
  • sghaz 52 minutes ago
    The pricing page says, "This page doesn’t seem to exist. It looks like the link pointing here was faulty. Maybe try searching?"
  • selva86 4 days ago
    Build this as an interactive tool for our popular 101 Pandas exercises. The code runs entirely in local in your browser. Would love feedback on the ease of use and the editor UX.
    • alexpotato 56 minutes ago
      These are great!

      Would have made my life a lot easier when I was learning Pandas.

      Would also be cool to have a Polars version of this too.

      One suggestion:

      A lot of folks come to Pandas from using SQL. It might be handy to have a couple "The equivalent of this SQL statement but in Pandas"

  • fud101 36 minutes ago
    what is the permission it asks for? it seems suspicious af.