Python - lookup value in dataframe and return random corresponding value

后端 未结 0 1224
太阳男子
太阳男子 2020-12-12 17:29

df1 has a lot of NaN values.

I have compiled df2 with all unique values for code and name.

I need to replace the NaN code values in df1 with a random code valu

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