I am trying to do a cumsum grouped by the name for the following dataframe:
df = pd.DataFrame( columns = [\'Name\',\'Status\']) df[\'Name\'] = [\'Anton\',\'A