【发布时间】:2018-01-22 01:55:30
【问题描述】:
我有以下 json 文件,我想根据字节和时间戳制作条形图。文件中提供的注意时间戳不按顺序排列,它们需要。
{
"success":true,
"data":[
{
"record_id":258585618,
"timestamp":"2018-01-21 22:34:34",
"bytes":29466,
}
,
{
"record_id":258585604,
"timestamp":"2018-01-21 22:33:14",
"bytes":37892,
}
,
{
"record_id":258584399,
"timestamp":"2018-01-21 22:37:40",
"bytes":36396,
}
]
}
非常感谢!!!
【问题讨论】:
-
到目前为止你尝试过什么?请发布您的代码。
标签: python json python-3.x matplotlib