create multiple rows if a column has more than one value in a dataframe

后端 未结 0 1069
萌比男神i
萌比男神i 2020-12-01 07:35

I have a df like below :-

import pandas as pd 
  
# intialise data of lists. 
data = {\'cust\':[\'fnwp\', \'utp\'], \'events\':[[\'abhi\',\'ashu\'],\'abhi\']}         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题