November 2017
Beginner to intermediate
204 pages
5h 23m
English
In the following steps, you will iterate through the data entries of the original dataset using a for loop. For each of the individual entries, you will collect the previously mentioned variables into a new data entry and place the new data entries in to an array.
As is done in the following continuation of process_data.py, create an empty array called new_scf_data. This is the array where you will place the modified data entries. Copy the previously listed data variables into an array of strings called variables. These strings will be used as keys to access the values from the original data entries:
...# pp.pprint(scf_data["issues"][0])############ DATA MODIFICATION #############new_scf_data ...
Read now
Unlock full access