How to remove the empty list in the Series, and at the same time change the non-empty list into a string form?

后端 未结 0 964
悲&欢浪女
悲&欢浪女 2021-01-29 19:47

The following is an example

df=pd.DataFrame({\'AAA\',\'BBBB\',\'CCC\'},columns=[\'fruit\'])
a=pd.Series({\'0\':\'A\',\'1\':\'B\',\'2\':\'C\'})
dict_a={}
for x in          


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