Given that I have the following Pandas DataFrame:
df =
Lttr | Day | Color | Num |
---|---|---|---|
A | Mon | Red | One |
A | Tue | Blu | One |
A | Wed | Grn | One |
A | Wed | Grn | Two |
How could I best go about re-arranging it to something like:
Lttr | Mon | Tue | Wed |
---|---|---|---|
A | Red | Blu | Grn |