After receiving a response from the service, the data included the following:
"rows": [
[
"stravi/aa",
"202001",
"59",
"51",
"2558.98",
"0.5358894453719162",
"1.9204668112983725",
"140",
"2.3466309084813943"
],
[
"stravi/ab",
"202003",
"3591",
"349",
"2246.09",
"0.41838214",
"3.57603358",
"50",
"4.82115474"
],
[
"stravi/ac",
"202007",
"3354",
"25",
"1975.76",
"0.74220667708",
"1.12321555541",
"11",
"0.9324532454"
]
]
In order to organize this data better, I need to separate these nested arrays into 9 individual arrays. Each array will contain one row from each of the original arrays.
["stravi/aa", "stravi/ab", "stravi/ac"]
[202001", "202003","202006"]
I've attempted to achieve this using methods like splitting, mapping, and filtering, but it's been quite challenging so far...