Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Information on the Data | Analyzing the Data
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

bookInformation on the Data

In pandas, there's a handy method named info() that provides basic information about a dataset. Let's explore how to use this method.

12345
import pandas as pd # It's a dataframe frame = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/a43d24b6-df61-4e11-9c90-5b36552b3437/example.csv') info = frame.info() print(info)
copy

This method displays the number of rows and columns in the dataframe, as well as each column's name and data type. For instance, our dataframe contains 20 rows and 5 columns.

To determine the size of our dataframe, we can use the len() function, as demonstrated in the example below.

Tarefa
test

Swipe to show code editor

We have a DataFrame labeled data_frame. You need to get more detailed information about this dataset, such as the types of data it contains, any missing values (and their count), and the memory usage.

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 3. Capítulo 4
toggle bottom row

bookInformation on the Data

In pandas, there's a handy method named info() that provides basic information about a dataset. Let's explore how to use this method.

12345
import pandas as pd # It's a dataframe frame = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/a43d24b6-df61-4e11-9c90-5b36552b3437/example.csv') info = frame.info() print(info)
copy

This method displays the number of rows and columns in the dataframe, as well as each column's name and data type. For instance, our dataframe contains 20 rows and 5 columns.

To determine the size of our dataframe, we can use the len() function, as demonstrated in the example below.

Tarefa
test

Swipe to show code editor

We have a DataFrame labeled data_frame. You need to get more detailed information about this dataset, such as the types of data it contains, any missing values (and their count), and the memory usage.

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 3. Capítulo 4
toggle bottom row

bookInformation on the Data

In pandas, there's a handy method named info() that provides basic information about a dataset. Let's explore how to use this method.

12345
import pandas as pd # It's a dataframe frame = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/a43d24b6-df61-4e11-9c90-5b36552b3437/example.csv') info = frame.info() print(info)
copy

This method displays the number of rows and columns in the dataframe, as well as each column's name and data type. For instance, our dataframe contains 20 rows and 5 columns.

To determine the size of our dataframe, we can use the len() function, as demonstrated in the example below.

Tarefa
test

Swipe to show code editor

We have a DataFrame labeled data_frame. You need to get more detailed information about this dataset, such as the types of data it contains, any missing values (and their count), and the memory usage.

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!

In pandas, there's a handy method named info() that provides basic information about a dataset. Let's explore how to use this method.

12345
import pandas as pd # It's a dataframe frame = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/a43d24b6-df61-4e11-9c90-5b36552b3437/example.csv') info = frame.info() print(info)
copy

This method displays the number of rows and columns in the dataframe, as well as each column's name and data type. For instance, our dataframe contains 20 rows and 5 columns.

To determine the size of our dataframe, we can use the len() function, as demonstrated in the example below.

Tarefa
test

Swipe to show code editor

We have a DataFrame labeled data_frame. You need to get more detailed information about this dataset, such as the types of data it contains, any missing values (and their count), and the memory usage.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 3. Capítulo 4
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt