Question d’entretien chez MarketAxess

Given a pandas dataframe, do some basic cleaning and aggregation.