嗨,我有类似的东西
pq={<Timestamp: 2008-02-02 13:30:46>: {('1059', 'latitude'): 40.064889999999998,
('1059', 'longitude'): 116.56359,
('1466', 'latitude'): 39.92163,
('1466', 'longitude'): 116.32633,
('1563', 'latitude'): 39.864249999999998,
('1563', 'longitude'): 116.39328,
('1827', 'latitude'): 40.003770000000003,
('1827', 'longitude'): 116.30907000000001}}
我想要类似的东西
pq={<Timestamp: 2008-02-02 13:30:46>: {'1059':{'latitude: 40.064889999999998,'longitude': 116.56359},
'1466' :{'latitude': 39.92163,'longitude': 116.32633},
'1563':{'latitude': 39.864249999999998, 'longitude':116.39328},
'1827':{'latitude': 40.003770000000003,'longitude': 116.30907000000001}}
我怎么做?