I have a data frame like this in pandas:
column1 column2
[a,b,c] 1
[d,e,f] 2
[g,h,i] 3
Expected output:
column1 column2
a 1
b 1
c 1
d 2
e 2
f 2
g 3
h 3
i 3
How to process this data ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…