Python Calculation Within Pandas Dataframe Rows Stack

Python Calculation Within Pandas Dataframe Rows Stack