Fill NA in pandas series with matching value from another pandas series

66 Views Asked by At

I have a pandas series like this: enter image description here

I want to fill NA in matchess with "Lock" value from standard series.

I tried pd.merge and combine_first but it won't reserve the order of matchess. How to fill NA in matchess with the values from standard series while reserving the order of matchess series?

1

There are 1 best solutions below

1
On

Try it:

matches.fillna('Lock')