[['verified_price', 'Price_count', 'total'], ['verified_price', 'Price_count', 'total'], ['verified_price', 'Price_count', 'total']]
Array(Array(Float64) - [[149.99, 28, 8], [199.99, 40, 6], [204.99, 9, 1]]
собрать массив ключ-значение?
[{
"verified_price": 149.99,
"Price_count": 28,
"total": 8
}, {
"verified_price": 199.99,
"Price_count": 40,
"total": 6
}, {
"verified_price": 204.99,
"Price_count": 9,
"total": 1
}
]
toJSONString(arrayMap(x -> map('k1',x[1],'k2',x[2],'k3',x[3]),src_arr))
Обсуждают сегодня