该Python保险客户办理数据集csv包含case_id、event、timestamp、payload以及aggregate_type等信息。其中payload为json字符串,需要进行转换为dataframe格式的处理。例如{'person': {'relation': 'self'}, 'incident': {'incident_scene': 'work', 'date_of_incident': '2018-02-05', 'time_of_incident': '10:30:00'}, 'occupation': {'occupation': 'employee'}}可以转化为如下格式:

person_relation incident_incident_scene incident_date_of_incident incident_time_of_incident occupation_occupation

0 self work 2018-02-05 10:30:00 employee