Unpivot DataFrame from wide to long format
Create a pivot table from DataFrame
Convert column to datetime format
Reshape data from long to wide format
df.pivot
df.pivot() reshapes long-format data back into wide format.
Pivot long-format data into wide-format
df.pivot(index="id", columns="variable", values="value")
Plot DataFrame or Series
Convert column to categorical dtype
Convert Series to specified dtype