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
course content

Course Content

Pandas First Steps

Pandas First Steps

1. The Very First Steps
2. Reading Files in Pandas
3. Analyzing the Data

Series

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.

12345
import pandas as pd numbers = [17, 43, 74, 20] series = pd.Series(numbers) print(series)

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.

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

Series

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.

12345
import pandas as pd numbers = [17, 43, 74, 20] series = pd.Series(numbers) print(series)

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.

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

Series

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.

12345
import pandas as pd numbers = [17, 43, 74, 20] series = pd.Series(numbers) print(series)

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.

Task

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

Everything was clear?

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.

12345
import pandas as pd numbers = [17, 43, 74, 20] series = pd.Series(numbers) print(series)

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.

Section 1. Chapter 2
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt