pandas dataframe column not able to replace with regex?

后端 未结 0 496
庸人自扰
庸人自扰 2021-01-20 15:23

column values looks some thing like this car:I10,sma:Ilk52,

my code is here

df[\'trans\']=df[\'trans\'].replace(to_replace=r\'[^[:alpha:][         


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