I have following dataframe
data = [
['ticket_1', '''2021-04-18 11:11:23 - Unknown
Part replaced
2021-04-18 09:03:10 - John Doe
Requires part change. Technician enroute
2021-04-17 19:30:25 - John Doe
Working on the issue'''],
['ticket_2','''2021-04-17 19:13:09 - Unknown_2
Transferring to other resource
2021-04-17 19:12:34 - Unknown_2
Issue assigned''']
]
I would like to split the comments column and perform below steps
1. Extract date time and include in another column
2. Have string after date time in another column
3. Duplicate ticket_num based on multiple date time in comments column
For example
data_1 = [
['ticket_1','''2021-04-18 11:11:23''','''Unknown
Part replaced'''],
['ticket_1', '''2021-04-18 09:03:10''', '''John Doe
Requires part change. Technician enroute'''],
['ticket_1','''2021-04-17 19:30:25''', '''John Doe
Working on the issue'''],
['ticket_2','''2021-04-17 19:13:09''','''Unknown_2
Transferring to other resource'''],
['ticket_2','''2021-04-17 19:12:34''','''Unknown_2
Issue assigned''']
]
I have tried using combinations of regex, explode, split and slice but not getting fruitful results.

