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

Conteúdo do Curso

Pandas First Steps

Pandas First Steps

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

bookDataFrame

Series is the simplest data structure in pandas. Now let's delve into a more complex data structure: DataFrame. This is a two-dimensional object that is more commonly used.

Think of a DataFrame as akin to a spreadsheet, capable of containing large volumes of data. Like a spreadsheet, a DataFrame comes with an index and columns.

To create a DataFrame object, you'll need to use a dictionary in conjunction with the .DataFrame() function. Let's examine how the coding is executed.

123456
import pandas as pd dataset = {'name' : ['Ann', 'Alex', 'Kevin', 'Kate'], 'age' : [35, 12, 24, 45]} data_frame = pd.DataFrame(dataset) print(data_frame)
copy

Tarefa

Let's craft an animal DataFrame using the dataset data and the pd.DataFrame() function. Give it a try!

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 4
toggle bottom row

bookDataFrame

Series is the simplest data structure in pandas. Now let's delve into a more complex data structure: DataFrame. This is a two-dimensional object that is more commonly used.

Think of a DataFrame as akin to a spreadsheet, capable of containing large volumes of data. Like a spreadsheet, a DataFrame comes with an index and columns.

To create a DataFrame object, you'll need to use a dictionary in conjunction with the .DataFrame() function. Let's examine how the coding is executed.

123456
import pandas as pd dataset = {'name' : ['Ann', 'Alex', 'Kevin', 'Kate'], 'age' : [35, 12, 24, 45]} data_frame = pd.DataFrame(dataset) print(data_frame)
copy

Tarefa

Let's craft an animal DataFrame using the dataset data and the pd.DataFrame() function. Give it a try!

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 4
toggle bottom row

bookDataFrame

Series is the simplest data structure in pandas. Now let's delve into a more complex data structure: DataFrame. This is a two-dimensional object that is more commonly used.

Think of a DataFrame as akin to a spreadsheet, capable of containing large volumes of data. Like a spreadsheet, a DataFrame comes with an index and columns.

To create a DataFrame object, you'll need to use a dictionary in conjunction with the .DataFrame() function. Let's examine how the coding is executed.

123456
import pandas as pd dataset = {'name' : ['Ann', 'Alex', 'Kevin', 'Kate'], 'age' : [35, 12, 24, 45]} data_frame = pd.DataFrame(dataset) print(data_frame)
copy

Tarefa

Let's craft an animal DataFrame using the dataset data and the pd.DataFrame() function. Give it a try!

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Series is the simplest data structure in pandas. Now let's delve into a more complex data structure: DataFrame. This is a two-dimensional object that is more commonly used.

Think of a DataFrame as akin to a spreadsheet, capable of containing large volumes of data. Like a spreadsheet, a DataFrame comes with an index and columns.

To create a DataFrame object, you'll need to use a dictionary in conjunction with the .DataFrame() function. Let's examine how the coding is executed.

123456
import pandas as pd dataset = {'name' : ['Ann', 'Alex', 'Kevin', 'Kate'], 'age' : [35, 12, 24, 45]} data_frame = pd.DataFrame(dataset) print(data_frame)
copy

Tarefa

Let's craft an animal DataFrame using the dataset data and the pd.DataFrame() function. Give it a try!

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 1. Capítulo 4
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
some-alt