如何为下面的数据集按序列进行JSON输出?
这是我想要的输出的一个示例,有人可以建议我采取的步骤吗?
Something like this
{
"series_id":"// some unique series id",
"points":[
[an array of date(time)/float arrays in ISO8601],
["2017-01-01", 12.7],
["2018-01-01", 13.1]
],
"fields":{
an object of any additional metadata available at the source that helps to describe and identify the data; a series representing Brazilian GDP might have two main keys: "country" and "concept" as in the example below
}
}