Nordstrom Interview Question

Q: How to do group by using pandas dataframe?