Pandas is such a unique learning experience. It's the only tool where my mental model changes substantively every time I use it. Yet, I find Pandas hard to "properly" learn because all the tutorials are boring stock market examples.
The iterrows is a bit of an exaggeration. These days, it's usually -- I can't figure out a simple thing with a multi-index, so I do a complicated thing with a flat table. In the outlier example, I couldn't figure out broadcasting semantics between tables of different sizes.
-
-
Come to think of it, 99% of my ongoing confusion usually arises from hierarchy and groups. Everything else is relatively easy (given past experience w/ SQL and functional list APIs).
-
ah, this I can relate to, because that stuff confuses me even after looking at the examples and the docs for a long time. the behavior just doesn't seem to fit into my mental model at all.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD