Nordstrom interview question

Q: How to do group by using pandas dataframe?