Sofia Heisler No More Sad Pandas 

| programming | python |

In this excellent talk, Sofia Heisler explains how to optimize Pandas code. There is a striking difference between a naive implementation and an optimized one, a nearly 500x improvement.

She also described two very useful benchmarking functions, timeit, and line_profiler.

[embed]https://www.youtube.com/watch?v=HN5d490_KKk[/embed]

I wonder how much of this would apply to “normal” python development? If nothing else, the two benchmarking functions will certainly come in handy in future optimization.

Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

Sunday Steamy Sunday

Sunday Steamy Sunday I was supposed to get up and go birding this morning, but it was going to be 87F (28C) and very humid by the time we finished, so I'm here blogging from the comfort of my air-conditioned home instead. We planned on heading into Richmon...

via CHRISOD.ORG June 14, 2026

Publishing WASM wheels to PyPI for use with Pyodide

The Pyodide 314.0 release announcement (via Hacker News) includes news I've been looking forward to for a long time: You can now publish Python packages built for Pyodide (or any Python runtime compatible with the PyEmscripten platform defined in PEP 783)...

via Simon Willison's Weblog: Entries June 13, 2026

“They had the simplest task in the world.”

This is a really nice set of transitions when pinching in and out in Photos in iOS 26. This is trickier than it seems, because it’s not just a linear zoom (like it would be in Maps or Sketch, for example). It’s a zoom and reflow – from 3 items to 1 item pe...

via Unsung June 13, 2026

Generated by openring