What is the basic difference between pivot() and pivot_table()?

The basic difference between pivot() and pivot_table() are given below:
pivot_table() does not raise error for multiple entries of a row, column combination.
It aggregate the multiple entries present for a row-column combination.

error: Content is protected !!