【数据分析&数据挖掘】相同数据结构互相填充
import pandas as pd # 加载数据 data_1 = pd.read_excel("./填充数据.xlsx", sheetname=0) data_2 = pd.read_excel("./填充数据.xlsx", sheetname=1) print("data_1: \n", data_1) print("data_2: \n", data_2) data_1 = data_1.combine_first(data_2) print("data_1: \n", data_1)
相关推荐
小小梦想家 2020-09-26
LauraRan 2020-09-28
yangkang 2020-11-09
lbyd0 2020-11-17
sushuanglei 2020-11-12
85477104 2020-11-17
KANSYOUKYOU 2020-11-16
wushengyong 2020-10-28
lizhengjava 2020-11-13
星月情缘 2020-11-13
huangxiaoyun00 2020-11-13
luyong0 2020-11-08
腾讯soso团队 2020-11-06
Apsaravod 2020-11-05
PeterChangyb 2020-11-05
gaobudong 2020-11-04
wwwjun 2020-11-02
gyunwh 2020-11-02