Suppose I have a json file like – This is a single object. There are hundreds of objects similar to these. What i did was I accessed every ‘name’ from “name_list” and cleaned it using some rules. In that process some common name were removed. Now I want to update the cleaned data back to the json file. Note that
Tag: updating
How can I update a list of dictionaries with a second list of dictionaries?
So I have been working on this for hours and have scoured many similar questions on Stackoverflow for a response, but no dice. It seems simple enough, but I just can’t seem to get the desired result. I have one list of dictionaries, A, that I would like to merge with another list of dictionaries, B. A and B are