Progress Log 59 (Python 3): Histograms – .hist(x, bins=), Customization – append, .fill_between(), .xlabel(), .ylabel(), .title(), .yticks()

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.   Histograms .hist(x, bins=): To build a histogram where x = list of values you want to build a histogram for and bins = how …

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: …