Fix Python – How can I pivot a dataframe?

What is pivot?
How do I pivot?
Is this a pivot?
Long format to wide format?

I’ve seen a lot of questions that ask about pivot tables. Even if they don’t know that they are asking about pivot tables, they usually are. It is virtually impossible to write a canonical question and answer that encompasses all aspects of pivoting…
… But I’m goin….