Comment exploser en utilisant deux colonnes pandas
df.set_index('col1').apply(pd.Series.explode).reset_index()
Lazy Leopard
df.set_index('col1').apply(pd.Series.explode).reset_index()
(df.apply(lambda x: x.apply(pd.Series).stack())
.reset_index()
.drop('level_1', 1))