Progress Log 58 (Python 3): Numpy: Basic Statistics – .mean(), .median(), .corrcoef(), .std(), Basic Plots with Matplotlib

I’m taking a course entitled “Introduction to Python for Data Science” by Microsoft at edX and all of the concepts described below come from that course.   Numpy: Basic Statistics Using Numpy, you can calculate the following for your data (assume you imported numpy as np): mean: np.mean(np_2d[]) median: np.median(np_2d[]) correlation: …

Progress Log 57 (Python 3): Numpy, 2D Numpy Arrays

I’m taking a course entitled “Introduction to Python for Data Science” by Microsoft at edX and all of the concepts described below come from that course.   Numpy Numeric Python Alternative to Python list: Numpy has one additional feature over Python lists: Numpy arrays can perform calculations over entire arrays. Adding …