Standard Deviation Python Dataframe Iterrows Function Definition