Stefanie Molin
banner
stefaniemolin.com
Stefanie Molin
@stefaniemolin.com
Author of Hands-On Data Analysis with #Pandas. Full-stack software engineer, international speaker, and open source contributor. Opinions are my own.

stefaniemolin.com
Check out my talk at @pythonbrasil.bsky.social tomorrow afternoon for a sneak peek of what will be coming in the next version
October 24, 2025 at 10:34 PM
The final highlight (imho) is the ability to run multiple transformations at once, better utilizing your machine's computing power
October 24, 2025 at 10:34 PM
Inspired by my work running those sprints, I also dedicated more time to the documentation, adding a new tutorials page and a tutorial on creating shapes (to accompany the dataset creation one)

stefaniemolin.com/data-morph/s...
October 24, 2025 at 10:34 PM
In addition to various code and performance improvements, there are 3 new datasets and 4 new shapes. Here you can see an example of one of each that came out of two sprints I ran last year (one at @europython.eu and the other at @pycontw.bsky.social)
October 24, 2025 at 10:34 PM
Reposted by Stefanie Molin
🎯 (Pre-)Commit to Better Code por Stefanie Molin.

💡 Categoría: #SoftwareEngineering and #BestPractices.

Más información: 2025.es.pycon.org/schedule.html
September 18, 2025 at 3:58 PM
I also wrote a blog post about how the opportunity came about and what I did during my time in the Baltics: stefaniemolin.com/blog/travel/...
Back to Baltics | Stefanie Molin
After a few months without any conferences or travel, I started off 2025 with my first ever keynote, which required several months of preparation. In this post, I talk about how the keynote for PyCon ...
stefaniemolin.com
July 30, 2025 at 12:48 PM
TIL the default locale is not the system locale, but the C locale. This was the 1st time I looked at the `locale` module (thanks to Stack Overflow FWIW). I would imagine we aren't alone in thinking that `n` would work without additional changes, esp. if the locale shows up as being set initially
May 29, 2025 at 11:51 PM
I find it extremely confusing, which is why I put in a PR to clarify. I imagine many people make this mistake. Hopefully, they merge the PR for the future readers of that page in the docs 🤞
May 29, 2025 at 11:51 PM
github.com/python/cpyth...

Before and after running the previous snippet, `locale.getlocale()` returns `('en_US', 'UTF-8')`. What changes are the values for `thousands_sep` and `grouping` in `locale.localeconv()`, which both go from "empty" values to being set per the locale.
gh-134887: Add references to `locale` module for locale-aware number formatting references in `string` module docs by stefmolin · Pull Request #134888 · python/cpython
Add references to locale module for locale-aware number formatting references in string module docs to avoid users thinking that the locale doesn't have a thousands separator for example. Is...
github.com
May 29, 2025 at 4:24 PM
I didn't see a mention of this in the docs, so I made a PR to add it (my first to cpython!) 😊
May 29, 2025 at 2:40 PM
>>> import locale
>>> locale.setlocale(locale.LC_NUMERIC, 'en_US')

Once you do that you will see the value in `locale.localeconv()` for `thousands_sep`, for example is set, and the formatting will then work.
May 29, 2025 at 2:40 PM
I wasn't aware of the `n` option, but I was suspicious that it didn't have a thousands separator on my machine, so I did a little more digging. It turns out that you first need to set your locale's numeric settings at a minimum, and then, it will work.
May 29, 2025 at 2:40 PM