From the course: pandas Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Series

Series - pandas Tutorial

From the course: pandas Essential Training

Start my 1-month free trial

Series

- [Instructor] A Series is a one-dimensional array of indexed data. One of the huge benefits of Pandas is that it supports both integer and label-based indexing, and provides a host of methods for performing operations involving the index. The first column is known as an index. And, each of the other columns corresponds to a Series. The first Series is called City, where the Olympics were held. The second Series is called the Edition, and this is the year the Olympics were held, and so on. Now, remember that each of the rows is also a Series, and this can be identified by this index number. So, how do you access the Series? Well, there are two ways of going about this. You can access them using a square bracket, using either a single quote or a double quote, notation. So, for example, you provide the dataframe name, and then the series name, in either single quotes, or double quotes, or you can use the dot notation. The square bracket notation for accessing a Series, will always work.…

Contents