Converting a Pandas GroupBy multiindex output from Series back to DataFrame 2025-01-26 (Last Modified: 2025-01-26)Python I person a dataframe Metropolis Sanction zero Seattle Alice 1 Seattle Bob 2 Portland Mallory three Seattle Mallory four Seattle Bob 5 Portland Mallory I