[
{'itemid': 28623, 'checktime': '2019-10-08T09:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 504324226432},
{'itemid': 28624, 'checktime': '2019-10-08T09:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 505422326432},
{'itemid': 28624, 'checktime': '2019-10-07T04:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 50542264546},
{'itemid': 28623, 'checktime': '2019-10-06T12:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 24324432455},
{'itemid': 28627, 'checktime': '2019-10-08T09:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 505422326432},
{'itemid': 28627, 'checktime': '2019-10-07T04:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 50542264541213},
]
如何得到下面的结果,就是将itemid相同的元素的checktime和value项合并
[
{'itemid': 28623, 'checktime': ['2019-10-08T09:27:03.000Z', '2019-10-06T12:27:03.000Z'], 'value': [504324226432, 24324432455], 'name': 'Used disk space on /', 'idc': 'V0'},
{'itemid': 28624, 'checktime': ['2019-10-08T09:27:03.000Z', '2019-10-07T04:27:03.000Z'], 'value': [505422326432, 50542264546], 'name': 'Used disk space on /', 'idc': 'V0'},
{'itemid': 28627, 'checktime': ['2019-10-08T09:27:03.000Z', '2019-10-07T04:27:03.000Z'], 'value': [505422326432, 50542264541213], 'name': 'Used disk space on /', 'idc': 'V0'}
]
{'itemid': 28623, 'checktime': '2019-10-08T09:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 504324226432},
{'itemid': 28624, 'checktime': '2019-10-08T09:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 505422326432},
{'itemid': 28624, 'checktime': '2019-10-07T04:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 50542264546},
{'itemid': 28623, 'checktime': '2019-10-06T12:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 24324432455},
{'itemid': 28627, 'checktime': '2019-10-08T09:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 505422326432},
{'itemid': 28627, 'checktime': '2019-10-07T04:27:03.000Z', 'name': 'Used disk space on /', 'idc': 'V0', 'value': 50542264541213},
]
如何得到下面的结果,就是将itemid相同的元素的checktime和value项合并
[
{'itemid': 28623, 'checktime': ['2019-10-08T09:27:03.000Z', '2019-10-06T12:27:03.000Z'], 'value': [504324226432, 24324432455], 'name': 'Used disk space on /', 'idc': 'V0'},
{'itemid': 28624, 'checktime': ['2019-10-08T09:27:03.000Z', '2019-10-07T04:27:03.000Z'], 'value': [505422326432, 50542264546], 'name': 'Used disk space on /', 'idc': 'V0'},
{'itemid': 28627, 'checktime': ['2019-10-08T09:27:03.000Z', '2019-10-07T04:27:03.000Z'], 'value': [505422326432, 50542264541213], 'name': 'Used disk space on /', 'idc': 'V0'}
]



