Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas as pd df1 = pd.DataFrame([["Emil", "Tobias", "Linus"], [16, 14, 10]]) df2 = pd.DataFrame([["Emil"], [17]]) df1.update(df2) print(df1)
0 1 2 0 Emil Tobias Linus 1 17 14 10