Question
Difference between pivot() and pivot_table().

Answer

Pivot(). In this function we cannot use any of the aggregate functions and this can only work with unique index value whereas pivot_table(). This function work with aggregate functions and non-unique value as well.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free