Recent Posts

The evolution of US gun violence

1 minute read

Heather Cox Richardson is an American historian and professor of history at Boston College. She has a wonderful newsletter Letters from an American worth sub...

Python: Get a notification via knockknock

less than 1 minute read

There is a Python library called knockknock that allows you to get a notification when your training is complete or when it crashes during the process. Al...

Nix: Make a noise!

less than 1 minute read

If you’re writing a script, and want it to make a noise to notify you when it’s done, look no further than SoX:

Pandas: Some notes on groupby

less than 1 minute read

The count() aggregation function counts only non-null values. To count all values, whether null or non-null, use size.