如何创建数据集的逐个序列表示形式

时间:2019-11-18 21:52:34

标签: python pandas csv datetime time-series

如何为下面的数据集按序列进行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
    }
}

DataSET

0 个答案:

没有答案