Instruction: Explain the process and provide an example of pivoting a DataFrame for data reshaping.
Context: This question tests the candidate's ability to reshape data frames using the pivot functionality, an essential skill for data analysis and preparation.