Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Information on the Data 2/2 | Analyzing the Data
Pandas First Steps

Information on the Data 2/2Information on the Data 2/2

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:

Tarea

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.

¿Todo estuvo claro?

Sección 3. Capítulo 5
toggle bottom row
course content

Contenido del Curso

Pandas First Steps

Information on the Data 2/2Information on the Data 2/2

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:

Tarea

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.

¿Todo estuvo claro?

Sección 3. Capítulo 5
toggle bottom row
some-alt