I have dataframe df as follows:
   API     sp_name               sp_input_params
getData   analytics.sp_1        {'req_url_query_params': [['@scroll_index', 'index']], 
                                 'req_body_params': [['@event_type_id', 'event_type_id']]}
getParam  analytics.sp_2        {'req_url_query_params': [['@athlete_guid', 'athlete_guid']], 
                                 'req_body_params': []}
Now I want to normalize the field sp_input_params. One of the way to achieve this as
df_final = pd.json_normalize(df['sp_input_params'])
But the above wont keep the other two columns viz API and sp_name. And I want to keep them along with the normalized one.
Any clue on this?
 
    