a similar approach (exactly reversed, in fact) for another problem
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| New DataFrame whose columns are values of a column and grouped by another column | 2 | 352 | May 14, 2021 | |
| Pivot a dataframe to wide format with values in multiple columns | 15 | 1958 | September 10, 2020 | |
| How to reshape wide to long? | 13 | 1084 | June 24, 2022 | |
| Unstack using row numbers | 5 | 788 | August 16, 2021 | |
| Best practice to unstack a dataframe with a lot of columnes? | 5 | 1308 | March 11, 2020 |