I have the following dataframe:
df:
          Wins     Ratio
id
234         10      None
143         32      None
678          2      None
I'm running a model to find out Ratio for each id. My model is finding Ratio, it is in another data frame, that looks like this:
result:
143
Wins     32
Ratio   987
However, I'm struggling to update df with ratio. I'm looking for a function that simply updates df for the id 143. Tryed to use the pd.dataframe.update() but seems it doesn't work that way (or I was unable to make it work). Can someone help on that?
