improving performance/speeding up polars pivot operation

Viewed 29

Polars pivot code seems to be single-threaded. how can I improve the following to improve speed and take advantage of multi threading performance.

#doing simple pivot operation 
pivot_df=df.pivot(values="Value", index ["col1","col2"],columns="VariableName")
0 Answers
Related