I ran into a situation last year where I had a pandas DataFrame with 50 columns and needed to pull…
Browsing: Python
The error stopped my script cold. I had a list of user inputs — some numbers, some not — and…
I first ran into namedtuples when debugging a data pipeline. Reading record[0] and record[1] everywhere was a nightmare – switching…
Last month, you learned the basics of Textual’s DOM queries. If you missed it, you can read the article now! In…
I needed to build an inventory optimization system for a warehouse client last year. The problem was classic: too much…
I needed a fun weekend project that actually taught me something useful about Python. Rock Paper Scissors seemed simple enough,…
My database was choking under the weight of repeated queries for user sessions. Every time a user logged in, the…
I ran into this problem during a data migration when a colleague handed me a CSV full of product codes…
I ran into this problem when I had a list of user records with some missing fields, and I needed…
I needed to back up configuration files before rewriting them during a deployment script. The requirement was simple: duplicate a…
