I have a list containing 2 lists that looks as the follows:
[[0.0, 0.0, 0.0], [0.0, 0.0, 0.0]]
What I need to have at the end of the day, is to have 2 columns in a PandasDataFrame, the first column should hold the values found in the first list, and the second column should hold the values in the second list.
I want to iterate over each of these lists and return every single value in it into a separate column in PandasDataFrame. Where col0 in PandasDataFrame should hold the values in the first list, and the col1 in PandasDataFrame should hold values in the second list.
I am expecting output like this:
Is there a compact way to do so?
Thanks.


pd.DataFrame(yourList).T?