Iterate through pandas data frame and replace some strings with numbers

后端 未结 0 1395
臣服心动
臣服心动 2020-12-08 04:58
def no_strings(df):
  for index,row in df.iterrows():
        if df[index] in result_map.keys():
            df[index].replace(result_map)
#We will need a mapping of         


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