Apr-14-2018, 11:22 AM
Hello scidam,
I've adapted it to my program and it works! Thank you.
But in my first message I have simplified the problem a little... ;) I was afraid of not explaining myself well and that's why I simplified it...
Really, I need to do this, but I don't know how many items will have the dict a priori. Then, I don't know if I will have 'key1', 'key2'... 'keyn'
In each iteration, I will receive a message with the information. When I receive the first message (in the first iteration), then I analize the message and I see the dict/json items. Before that, I don't know how many columns will have the dataframe.
Is there a more generic way?
Thanks
I've adapted it to my program and it works! Thank you.
But in my first message I have simplified the problem a little... ;) I was afraid of not explaining myself well and that's why I simplified it...
Really, I need to do this, but I don't know how many items will have the dict a priori. Then, I don't know if I will have 'key1', 'key2'... 'keyn'
In each iteration, I will receive a message with the information. When I receive the first message (in the first iteration), then I analize the message and I see the dict/json items. Before that, I don't know how many columns will have the dataframe.
Is there a more generic way?
Thanks