Reputation: 121
I am new to Scala. I am currently working on a jupyter notebook Apache Toree - Scala. I have the following:
dt_analysis | metric_name | mean_value |
---|---|---|
2021-08-13 | FID | 337.07522229312184 |
2021-08-13 | CLS | 0.4778479558664849 |
2021-08-13 | LCP | 27853.39253624655 |
2021-08-14 | LCP | 1503.4752384264077 |
2021-08-14 | CLS | 0.4933521946102963 |
2021-08-14 | FID | 119.07927683323628 |
2021-08-15 | LCP | 1654.1969758061045 |
which is a "'void' class".
I wish to tranpose it and have metric_name as columns. Note: there is one value per metric per dt_analysis.
Upvotes: 0
Views: 87