import pandas as pd df = pd.DataFrame([[1,['A','B','C']]], columns=['甲','乙']) result = df.explode("乙")注:pandas版本要0.25.0以上。
注:pandas版本要0.25.0以上。