Pandas replacing value with given condition

后端 未结 0 983
轮回少年
轮回少年 2020-12-23 17:07

I want to replace the value in dataframe given some condition.

Xtrain_df[Xtrain_df[\'age group\']==\'[80-90)\'][\'weight\'].replace(\'?\',\'[75-100)\', inplac         


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