Writings

Below you can find my writings on machine learning, data science, and technology. Enjoy!
Python Patterns: @total_ordering
Your classes can make use of the rich Python comparison operators just like the built-in classes. Here I'll show you how to do it while minimizing boilerplate.
Data Science Salaries
How do data scientists salaries vary by experience and location? Read on to find out!
SWITRS: On What Days Do Cyclists Crash?
California crash data doesn't just cover cars, it covers bikes too! This time we look at when cyclists crash in California.
Python Patterns: Enum
Things often come in sets of specific items, like states, Pokémon, or playing cards. Python has an elegant way of representing them using enum.
Python Patterns: Named Tuples
Sometimes I need to store an ordered dataset, but reference specific members from it. Named tuples in Python provide a clean way to do this!
SWITRS: Car Crashes After Daylight Saving Time Ends
Day light saving time leaves leads to more traffic collisions, but what about when DST ends? Some researchers have found that it does lead to more crashes, so I take a look using California's SWITRS data.
My Academic Bully at CERN
Getting my PhD was mostly a great experience, but one woman made my life hell for a short time at CERN. It's tough to write about, but I thought I owed it to myself and others.
My Son's Language Development
My son is a little over two and unfortunately he has two huge nerds for parents. We tracked every word he's spoken to watch his language development, and now you can join us!
Should I Go To Insight Data Science?
Insight promises an easy transition from academia to a career in data science or machine learning, but is it the right program for you? I have a few words of advice offered from experience.
Improving An Old Supernova Plot
I learned to use matplotlib more than ten years ago. Around that time, I made a plot of supernova 2002cx for Wikipedia, but it was not terrible good. So this year, I updated it!