Join Michele Vallisneri for an in-depth discussion in this video Using Python lists and the slicing syntax, part of Introduction to Data Analysis with Python.
- View Offline
- Exercise Files
- In Python, lists are very versatile containers…that are useful in many circumstances.…They provide a way to stir arbitrary numbers of Python…objects, such as strings or floating point numbers,…and to access them using a numerical index.…In this movie, we're going to refresh the most useful…operations you can perform on lists.…We are now going to open the exercise file for this movie.…To do that, we first launch the IPython notebook server.…We then navigate to the location in the file system…where our exercise files sit.…
We then click on the file to open it.…We're going to talk about Python lists.…Lists in Python are denoted by brackets,…and their elements are separated by commas.…Let's look at the list that we just created.…You'll notice that there are no input…and output numbers in this notebook.…That's because the numbers are going to be different…depending on how you execute your notebook,…so I've chosen to turn them off…for the duration of this course.…Individual list elements can be accessed by index.…
- 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.