general dataframe combine doc · Issue #25359 · pandas-dev/pandas (original) (raw)
def combiner(x, y): np.where(pd.isna(x), y, x) df1.combine(df2, combiner)
def combiner(x, y): return np.where(pd.isna(x), y, x) df1.combine(df2, combiner)
def combiner(x, y): np.where(pd.isna(x), y, x) df1.combine(df2, combiner)
def combiner(x, y): return np.where(pd.isna(x), y, x) df1.combine(df2, combiner)