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.
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.
Tarefa
Your task is to create two pd.Series
objects from two existing lists, data_1
and data_2
.
Tudo estava claro?
Conteúdo do Curso
Pandas First Steps
2. Reading Files in Pandas
3. Analyzing the Data
Pandas First Steps
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.
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.
Tarefa
Your task is to create two pd.Series
objects from two existing lists, data_1
and data_2
.
Tudo estava claro?