Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Introduction to NumPy!
You have completed Introduction to NumPy!
Preview
NumPy integrates with a whole slew of external packages and tools. Let's take a look at the plotting library, matplotlib
Learn More
My Notes for Routines in Action
## Common Routines
* Common [mathematical](https://docs.scipy.org/doc/numpy-1.14.0/reference/routines.math.html) [routines](https://docs.scipy.org/doc/numpy-1.14.0/reference/routines.html) are exposed so the formula can be abstracted away.
* [`mean`](https://docs.scipy.org/doc/numpy-1.14.0/reference/generated/numpy.mean.html#numpy.mean) is a [statistics](https://docs.scipy.org/doc/numpy-1.14.0/reference/routines.statistics.html) routine used to calculate the average.
* Reduction functions take a dimension and collapse it into a single value.
* These functions define an axis parameter, and you should remember that the function works across the dimension.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Let's take a look at a common use case,
plotting our data graphically.
0:00
Let's go and get Matplotlib installed.
0:01
So here are my reflection notes, but
before we review them, let's multitask.
0:04
We need to install Matplotlib, so
let's flip over to our terminal.
0:08
And we will stop the server with Ctrl
+ C and do I wanna shut this down?
0:14
I'm gonna click yes to shut it down.
0:18
If we go back at the prompt and
we're gonna type conda install matplotlib.
0:21
And as that starts happening,
we are just gonna go and
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up