Add groupby(level=0) example to Documentation
The definition is from the documentation is level: int, level name, or sequence of such, default None
If the axis is a MultiIndex (hierarchical), group by a particular level or levels.

But I still don't understand, can anyone provide a sample to explain what (level =) actually does? 