Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Column Names and Data Types | 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

bookColumn Names and Data Types

To see all the column names as a list, we have to use this line of code:

We can also get a summary of all the types of data that are in the dataframe. For this, we have to use the following method: dtypes. Let's look at the example:

Tarefa
test

Swipe to show code editor

We have a dataframe named data_frame.

  1. Get the column names that this dataframe contains.
  2. Get the data types of these columns from the data from this dataframe.

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 5
toggle bottom row

bookColumn Names and Data Types

To see all the column names as a list, we have to use this line of code:

We can also get a summary of all the types of data that are in the dataframe. For this, we have to use the following method: dtypes. Let's look at the example:

Tarefa
test

Swipe to show code editor

We have a dataframe named data_frame.

  1. Get the column names that this dataframe contains.
  2. Get the data types of these columns from the data from this dataframe.

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 5
toggle bottom row

bookColumn Names and Data Types

To see all the column names as a list, we have to use this line of code:

We can also get a summary of all the types of data that are in the dataframe. For this, we have to use the following method: dtypes. Let's look at the example:

Tarefa
test

Swipe to show code editor

We have a dataframe named data_frame.

  1. Get the column names that this dataframe contains.
  2. Get the data types of these columns from the data from this dataframe.

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!

To see all the column names as a list, we have to use this line of code:

We can also get a summary of all the types of data that are in the dataframe. For this, we have to use the following method: dtypes. Let's look at the example:

Tarefa
test

Swipe to show code editor

We have a dataframe named data_frame.

  1. Get the column names that this dataframe contains.
  2. Get the data types of these columns from the data from this dataframe.

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 5
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