In this case all you need is the ffill()
method
result = pd.merge(df1, df, how='outer').ffill() # Will give your wanted series
In this case all you need is the ffill()
method
result = pd.merge(df1, df, how='outer').ffill() # Will give your wanted series