01
How do you pivot data in Pandas?
Show answer
pd.pivot_table(df, index='region', columns='month', values='sales', aggfunc='sum') reshapes long data into a summary matrix; melt() does the reverse.
Prepare with questions tailored to the role, required skills, and experience level.