Here is one way reindex
after set_index
Locations = [('London','Uk'), ('Paris', 'US'), ('Toronto', 'Canada')]
out = df.set_index(['City','Country']).reindex(Locations).reset_index()
out
Out[83]:
City Country value
0 London Uk NaN
1 Paris US 100
2 Toronto Canada 40
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…