This is simplified... I have a matrix where sometimes the first column has cells that need to be delimited by ";". When that is the case, I want to copy the information for that row and create a new df with the appended row(s).
I have a key with values key = [444, 555, 777]
I also have a information_df where each item in the key exists, but sometimes within the same cell separated by ";". information_df looks like this.... and the output should look like this.... (both images in same url):
Example of input and ideal output:
Can anyone please advise on how to do this in python?