How to pack multilines results (OrderedDict with differents keys) into pandas dataframe? [duplicate]
问题 This question already has answers here : Generate a pandas dataframe from ordereddict? (4 answers) Closed 1 year ago . I did a loop over multiple files to get as a result an OrderedDict for each one (possibility to have different keys, which means not the same from an OrderedDict to another). I want to write/ pack the result into the same pandas dataframe. So we will have all the different keys as column names, and each row of the dataframe will represent an OrderedDict. I have already my