How to Calculate Standard Deviation in Python