I'm trying to solve a python pandas problem where I have certain cells with semicolon split values. I would like to create a script where those values are automatically split.
Example:
import pandas as pd   
df =pd.DataFrame({'A':[7,9,3],'B':['a','b','c'],'C':[6,'2;6',4]}) #Current DataFrame 
df_new = pd.DataFrame({'A':[7,9,9,3],'B':['a','b','b','c'],'C':[6,2,6,4]})  #Dataframe to be created
Is there an easy method to do this?
Thank you in advance for any help
 
    