Chapter 2: Series

Series

face Josiah Wang

One of the main components of pandas is the Series class.

A Series instance represents a one-dimensional column in a table.

A Series has some data that you can pass along to it. The data can be a np.array, a Python iterable, a dict or a scalar.

A Series also contains an index, which labels each row in the data. Index is also sometimes called axis labels.

A Series also has a name.

Series