A lot of time was spent in 2020 looking at daily covid numbers, which was getting
overwhelming. Having taken a break for a while, this article combines covid data and
vaccination data with population data to present a view of the countries with the
highest deaths from Covid-19 and the vaccination status in the country.
There is a filter method on Pandas DataFrame, but it is limited to only filtering
on the labels on the index columns. There are multiple ways to filter a DataFrame to
focus on the information required. This article demonstrates a number of ways to
filter data in a DataFrame.
ipywidgets are interactive HTML elements that can be used in Jupyter Notebooks to
interact with outputs such as tables and charts. This article briefly introduces
ipywidgets and uses them to change the rolling day period in a chart for the rolling
average of deaths from covid-19.
We came across the water pouring puzzle again recently and there was some discussion
on where to start and explain how to slove it. The specific puzzle we came across was
given two containers of sizes 7 and 4 litres, measure out a volume of water that is
exactly 5 litres. A tap is available to refill the containers and …
Three dimensional objects are not easy to represent on a 2D surface such as a page or
screen. In this article, inspired by chapter 3 of Math for Programmers book, we
look at the cross product of two 3D-vectors and representing the surface of any 3D
object as a collection of triangles. The cross product can be used to …