Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Series | The Very First Steps
Pandas First Steps

SeriesSeries

One of the simplest data structures in pandas is pd.Series. This structure resembles a list or an array. To create a pd.Series object in pandas, you can utilize the pd.Series() function.

In this example, we're leveraging the pd.Series() function to create a data object of the Series type, into which we place a list of numbers.

Task

Your task is to create two pd.Series objects from two existing lists, data_1 and data_2.

Everything was clear?

Section 1. Chapter 2
toggle bottom row
course content

Course Content

Pandas First Steps

SeriesSeries

One of the simplest data structures in pandas is pd.Series. This structure resembles a list or an array. To create a pd.Series object in pandas, you can utilize the pd.Series() function.

In this example, we're leveraging the pd.Series() function to create a data object of the Series type, into which we place a list of numbers.

Task

Your task is to create two pd.Series objects from two existing lists, data_1 and data_2.

Everything was clear?

Section 1. Chapter 2
toggle bottom row
some-alt