open_in_new
content_copy
pd.pivot_table(df, index='Company', columns='Department', values='Employees')