How do I write this piece of data to a csv file?
问题 I'm trying to write data to a csv file. The data is in a confusing format and I cannot change it. This is how the data dictionary looks like. How do i write this data in a csv file? [{'box': [277, 90, 48, 63], 'confidence': 0.99, 'keypoints': { 'left_eye': (291, 117), 'right_eye': (314, 114), 'nose': (303, 131), 'mouth_left': (296, 143), 'mouth_right': (313, 141)} }] I tried using the code below however, using this code only writes the field names in the csv file and not the values. import