Problems of data structure in python

clipboard.png

here"s the case. I"m going to save the json format into csv, and I"ll save it in dictionary format, and then json.dumps

.

but the problem now is that there is more than one time inside,
company_news= {"time": (new1,news2,news3)}

         company_news={}
         for i in range(0,len(json_team_data["news"])):
            news_date=json_team_data["news"][i]["news_date"]
            title=json_team_data["news"][i]["title"]
            company_news[news_date]=title

it was written like this at first, but I found that it didn"t work. I asked for advice. Thank you! How to deal with this data structure stored in csv

Apr.02,2021
Menu