I have generated a dictionary which I would like to convert to a pandas dataframe.
My intention is for the keys to be the column headers and the values to fill the rows. The values are saved in lists, whose order needs to be preserved.
This is different from a list of dictionaries.
Here is an example of the data structure:
{'training_samples': ['200', '200', '100', '100'], 'shape': ['gaussian', 'gaussian','gaussian', 'gaussian'], 'bandwidth': ['2.0', '1.0', '2.0', '1.0'], 'entropy': [3.0220786946957032, 3.551872762572949, 3.0158071153302135, 3.5436555507182104]}
Thanks in advance!