The below is my data that I get from an API and I want to group it as time in one index and the other values in another index. Is that possible to split this? I want the array to be in the format as the values in a second array format
Api data
0: (5) [1577080200000, 157.5599, 157.4902, 157.495, 78330]
1: (5) [1577080500000, 157.54, 157.485, 157.5128, 118202]
2: (5) [1577080800000, 157.54, 157.47, 157.48, 130805]
Expected Output
[1577080200000][157.5599, 157.4902, 157.495, 78330]
[1577080500000][157.54, 157.485, 157.5128, 118202]
[1577080800000][157.54, 157.47, 157.48, 130805]