pandas.Series.combine

Series.combine(other, func, fill_value=nan)

Perform elementwise binary operation on two Series using given function with optional fill value when an index is missing from one Series or the other

Parameters:

other : Series or scalar value

func : function

fill_value : scalar value

Returns:

result : Series