Join Michele Vallisneri for an in-depth discussion in this video Writing and running Python in the iPython notebook, part of Introduction to Data Analysis with Python.
- View Offline
- Exercise Files
- When you work with scripting languages, such as Python,…you can be in two different modes.…You may write programs in a text editor…and then run them from the system shell.…Or you may work interactively in the language…interpreter.…The iPython notebook lets you do both things…at once.…You can write code, run it, collect the output,…and even comments all in the same document.…It's a very convenient way both to develop code…and to use the code interactively.…I highly recommend it and we will use it…for the rest of the course.…
So, let's give it a try.…We start the iPython notebook application…by typing, "ipython notebook," in the shell.…We are presented with an interface that lets us…navigate through the file system.…If we have notebooks that we want to use,…we can go find them.…Otherwise, we can start a new one by selecting…new, and Python 3.…Let's take a look at the screen.…The banner at the top says, "jupyter"…rather than iPython since this notebook…can be used also for other languages.…
We see a row of drop down menus…
- Writing and running Python in iPython
- Using Python lists and dictionaries
- Creating NumPy arrays
- Indexing and slicing in NumPy
- Downloading and parsing data files into NumPy and Pandas
- Using multilevel series in Pandas
- Aggregating data in Pandas
Skill Level Intermediate
1. Installation and Setup
2. Refresher: Data Containers in Python
3. Word Anagrams in Python
4. Introduction to NumPy
5. Weather Data with NumPy
6. Introduction to Pandas
7. Baby Names with Pandas
Next steps1m 36s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.