pandas合并、转换、映射、替换
import numpy as npimport pandas as pddf1=pd.DataFrame({'a':[1,np.nan,5,np.nan], 'b':[np.nan,2,np.nan,6], 'c':range(2,18,4)})df2=pd.DataFrame({'a':[5,4,np.nan,3,7