Pivot are summarized data without any aggregate functions used.
pivot(index=None, columns=None, values=None)
index: str or object or a list of str, optional columns: list or Column to use to make new frame’s columns. values Column(s) to use for populating new frame’s values (optional ). This is our sample DataFrame ( created by using sales.csv file after removing duplicate column/ rows )