A blog about scientific computing with Python and Matlab. See the work of an engineer and data scientist in practice.
why do you want to do that when it can be done directly as :l = [{k1:v11, k2:v21}, {k1:v21, k2:v22}, .....]pd.DataFreame(l)
That only works if you already have a list. My usecase was when I only had a single dictionary full of keys and values. You have to make it a list first.
why do you want to do that when it can be done directly as :
ReplyDeletel = [{k1:v11, k2:v21},
{k1:v21, k2:v22}, .....]
pd.DataFreame(l)
That only works if you already have a list. My usecase was when I only had a single dictionary full of keys and values. You have to make it a list first.
Delete