Python Dataframe Fill Nan Average Values Using Conditions Stack

Python Dataframe Fill Nan Average Values Using Conditions Stack