pandas.DataFrame.pivot# DataFrame.pivot(*, columns, index=_NoDefault.no_default, values=_NoDefault.no_default)[source]# Return reshaped DataFrame organized by given index / column values. Reshape data (produce a “pivot” table) based on column values. Uses unique values from specified index / columns to form axes of the resulting DataFrame. This function does not support data aggregation, multiple