Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Describing 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

book
Describing the Data

pandas offers the handy mean() method that calculates the average of all values for each column.

You can also the same method to determine the average value for a specific column:

pandas also provides the mode() method, which identifies the most frequently occurring value in each column.

To find the mode for a particular column, the same method is used:

Another useful method in pandas is describe().

This method provides an overview of various metrics from the dataset, including:

  • Total number of entries;
  • Mean or average value;
  • Standard deviation;
  • The minimum and maximum values;
  • The 25th, 50th (median), and 75th percentiles.
Tarefa
test

Swipe to begin your solution

  1. Calculate the mean of the 'residual sugar' column.
  2. Calculate the mode of the 'fixed acidity' column.
  3. Retrieve an overview of various statistics from wine_data and store the result in described_data.

Solução

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

book
Describing the Data

pandas offers the handy mean() method that calculates the average of all values for each column.

You can also the same method to determine the average value for a specific column:

pandas also provides the mode() method, which identifies the most frequently occurring value in each column.

To find the mode for a particular column, the same method is used:

Another useful method in pandas is describe().

This method provides an overview of various metrics from the dataset, including:

  • Total number of entries;
  • Mean or average value;
  • Standard deviation;
  • The minimum and maximum values;
  • The 25th, 50th (median), and 75th percentiles.
Tarefa
test

Swipe to begin your solution

  1. Calculate the mean of the 'residual sugar' column.
  2. Calculate the mode of the 'fixed acidity' column.
  3. Retrieve an overview of various statistics from wine_data and store the result in described_data.

Solução

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