Код: Выделить всё
df1 =
A1 B1 C1
0 1 2 0
1 4 2 1
2 2 1 5
df2 =
A2 B2 C2
0 2 1 5
1 1 3 2
2 2 2 4
Т.е.
Код: Выделить всё
df3 = max(df1, df2)
print(df3)
A3 B3 C3
0 2 2 5
1 4 3 2
2 2 2 5
Спасибо!
Подробнее здесь: https://stackoverflow.com/questions/679 ... dataframes
Мобильная версия