Pandas: Getting NaN values when trying to replace non-numeric values with a numeric value

前端 未结 0 1944
臣服心动
臣服心动 2020-12-24 00:16

I am trying to replace some none-numeric values in my dataframe with numeric values. For example, temporarily replacing "Red" with 1 and "Blue" with 0.

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