I'm having a bit of an issue. I have a dict looking like this:
example_dict = {"AUTHID":[],"visibility":[], "game_owned": {"game_name": [], "game_playtime":[]}}
And I'm fetching data on the Steam website using ID as a key in the API to get the data. Basically, with some content in it, the dict should look like this:
example_dict = {"AUTHID":[7541,4878,1014],"visibility":["Yes","No","Yes"], "game_owned": {"game_name": [[CounterStrike, TF2], "None", [CounterStrike,Isaac, Bioshock]], "game_playtime":[[45,14],"None",[1,85,10]}}
What I'm trying to have now is to convert this dictionary into a dataframe, so it would look like this:
| ID | Visibility | CounterStrike | TF2 | Isaac | Bioshock |
|---|---|---|---|---|---|
| 7541 | yes | 45 | 14 | None | None |
| 4878 | no | None | None | None | None |
| 1014 | yes | 1 | None | 85 | 10 |
But the process is so complicated and I'm not really at ease with dict and pandas, so I have virtually no idea on how to proceed. If someone could help me, it would be greatly appreciated, because I'm quite lost.