I have a list of dictionaries:
original_data = [{"id":1, "other_fields":"other_data"},{"id":2, "other_fields":"other_data"},{"id":3, "other_fields":"other_data"}]
I need to be able to do get the values of all of the "id" keys and add them into a new list of dictionaries:
new_data = [{"id":1, "processed_data":"processed data"}]
Adding to or replacing anything in the original list of dictionaries is not an option. It will be working with a rather large list.