Likelyhood of being hit on the head by a falling rocket on new years eve

This new years eve a friend of mine was hit on the head by the debris of a rocket and had to spend the evening in the hospital. Being hit on the head seemed very unlikely to me, but how unlikely exactly? As a fan of the TheyDidTheMath subreddit I calculated how unlikely her new years eve was. It was also a great excuse to read up on probablity theory which I haven’t used since I graduated school 10 years ago.

Parallel Pandas

Using pandas performance is usually not an issue when you use the well optimized internal functions. However, sometimes you have to a perform a lot of calculations column wise on a large dataframe. I recently ran into this issue while calculating time series features. I increased the speed of the calculation 5x by chunking the dataframe and using parallel processing with Pythons multiprocessing library.

Awesome Sentinel

A curated list of awesome tools, tutorials and APIs related to the Copernicus Sentinel Satellites.

Beautiful Map Backgrounds - Slope Hillshades

In the field of remote sensing you often have to present classification results as maps and need a nice, unobtrusive background that gives the viewer an idea where everything is located without being as distracting as a RGB satellite image. A nice choice for this is a grey hillshading or slope relief background that adds some texture information to your map by using a Digital Elevation Model.