r string cleaning , retain everything before the last underscore

前端 未结 0 1492
情歌与酒
情歌与酒 2021-01-29 09:15

I am working with a dataset that has column with some underscores. There is a patter to it but they are different patterns, as shown below

  ID     Col1
  1333            


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