This is the first video of the course and shows you how to install Pandas, NumPy and Jupyter Notebook (during the course it’s called by its old name IPython).
Installing Pandas & Vincent
00:00
We’ll be introducing Pandas, a data manipulation tool. It can consume data in all types of forms—CSV, web data, JSON, all kinds of stuff. We’ll be consuming some data, manipulating that data using the data structures that Pandas includes, which are namely the DataFrame
and the Series
objects.
00:17 We will then use some of that data, we will move it around and we will resample it and we will also then begin to visualize it using a tool called Vincent.
00:24
Before we begin, we need to install a few things. So, this is a fresh virtualenv install. What we’re going to do is install NumPy. If NumPy becomes an issue to install on your machine, what you’ll need to do is go to their website, figure out what you need to install. On the Mac it’s pretty straightforward, it’s brew install gfortran
, and then everything should just work. Well, if you have Python running, you should have the Xcode tools, so you should be okay, which is the compiler that compiles everything on Mac. On Linux, it’s fairly straightforward—you get APT packages, and then go from there.
00:57 Once we have NumPy installed, we will then install Pandas and Vincent.
01:11 Next, we’re going to install Pandas.
01:31 Next, we’re going to install IPython, so we can have the Notebook. We’re also going to install Tornado, which IPython uses, and PyZMQ.
01:50
Awesome, so that should be up and running, so all we need to do is go ipython notebook
. Awesome.
pythonbeginner on March 31, 2020
please update examples to python 3.6+
noelpuru on Aug. 15, 2020
You forgot to mention its also needed to install jupyter.
KatMac on March 30, 2021
I installed everything that was required. When I ran the command: ipython notebook, I received the following error and have no idea how to resolve this issue…
ipython : The term 'ipython' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path
is correct and try again.
Bartosz Zaczyński RP Team on March 30, 2021
@KatMac I don’t have a Windows PC around to investigate at the moment, but it looks like the ipython
command can’t be found in your %PATH%
environment variable. Sometimes, a system restart helps to reload your variables. If that doesn’t help, you can try typing the absolute path to the ipython
executable file. You’ll need to find where it was installed first.
Become a Member to join the conversation.
Bradley Grant on Nov. 14, 2019
What’s your console font?