1. Calculate the weighted average in pandas with NaN values

    Calculate the weighted average in pandas with NaN values