Pandas Pivot Table, pivot (index, columns, values) function produces a pivot table based on 3 columns of the DataFrame.