Customer Spend Tier - Medium Pandas Data Manipulation Interview Problem | Unnested