October 2019
Beginner to intermediate
674 pages
16h 43m
English
The general construct for creating a series data structure is as follows:
import pandas as pdser = pd.Series(data, index = idx)
Here, data can be one of the following:
If an index is not specified, the following default index [0,... n-1] will be created, where n is the length of the data.
A series can be created from a variety of sources as shown in the following subsections.
Read now
Unlock full access