How can I use split() in a string when broadcasting a dataframe's column?

后端 未结 0 2010
忘了有多久
忘了有多久 2021-01-26 07:03

Take the following dataframe:

df = pd.DataFrame({\'col_1\':[0, 1], \'col_2\':[\'here 123\', \'here 456\']})

Result:

   col_1     col_2
         


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