How often does the oldest person alive die?
Using this dataset, write code to compute how often the oldest person alive dies (length of time they were recognized as oldest person before passing away and being replaced by a new oldest person). Visualize this information for a stakeholder.
# Here is code to pull the dataset and relevant libraries # into a Google Colab or Jupyter notebook to help get you started import matplotlib.pyplot as plt import numpy as np import pandas as pd import seaborn as sns oldest_person_data = pd.read_csv('https://raw.githubusercontent.com/erood/interviewqs.com_code_snippets/master/Datasets/oldest_person_dataset.csv')
Subscribe to premium account to see the solution.Get premium now