I found this for example: https://pandas.pydata.org/docs/user_guide/reshaping.html Also:  And this: 