1.4 Exploring a real-life dataset and plotting data
1.4.1 Death penalties in Florida
Next, we use our knowledge to analyse a real-life dataset about death penalties. We will work through a detailed example of data exploration and analyse a tiny part of the complex question of racism in the USA.
The data deathpenalty_df covers judgements of defendants in cases of multiple murders in Florida between 1976 and 1987. The cases all have features that (a) describe whether the death penalty was handed out (where 0 refers to no, 1 to yes), (b) the race of the defendant and (c) the race of the victim (black is referred as 0, white is 1).

In the notebook in Google Colab, we will work through this real-life dataset and see how we can learn more about it using Pandas and NumPy.
Check if you got it before moving on to the next lesson: