Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
The Best Combination | Analyzing Data
Analyzing and Visualizing Real-World Data
course content

Conteúdo do Curso

Analyzing and Visualizing Real-World Data

The Best Combination

Interesting! The most profitable weeks are the second to last weeks of December and November. Now, let's answer the question: What was the best selling week and store? Since our data is already weekly, we won't need to group observations this time.

Tarefa

  1. Select the 'Store', 'Date', and 'Weekly_Sales' columns.
  2. Sort the values of the 'Weekly_Sales' column in descending order (not ascending).
  3. Display the first 10 rows of the obtained dataframe.

Do not worry about syntax, pandas allows splitting methods by lines.

Tarefa

  1. Select the 'Store', 'Date', and 'Weekly_Sales' columns.
  2. Sort the values of the 'Weekly_Sales' column in descending order (not ascending).
  3. Display the first 10 rows of the obtained dataframe.

Do not worry about syntax, pandas allows splitting methods by lines.

Tudo estava claro?

Seção 3. Capítulo 6
toggle bottom row

The Best Combination

Interesting! The most profitable weeks are the second to last weeks of December and November. Now, let's answer the question: What was the best selling week and store? Since our data is already weekly, we won't need to group observations this time.

Tarefa

  1. Select the 'Store', 'Date', and 'Weekly_Sales' columns.
  2. Sort the values of the 'Weekly_Sales' column in descending order (not ascending).
  3. Display the first 10 rows of the obtained dataframe.

Do not worry about syntax, pandas allows splitting methods by lines.

Tarefa

  1. Select the 'Store', 'Date', and 'Weekly_Sales' columns.
  2. Sort the values of the 'Weekly_Sales' column in descending order (not ascending).
  3. Display the first 10 rows of the obtained dataframe.

Do not worry about syntax, pandas allows splitting methods by lines.

Tudo estava claro?

Seção 3. Capítulo 6
toggle bottom row

The Best Combination

Interesting! The most profitable weeks are the second to last weeks of December and November. Now, let's answer the question: What was the best selling week and store? Since our data is already weekly, we won't need to group observations this time.

Tarefa

  1. Select the 'Store', 'Date', and 'Weekly_Sales' columns.
  2. Sort the values of the 'Weekly_Sales' column in descending order (not ascending).
  3. Display the first 10 rows of the obtained dataframe.

Do not worry about syntax, pandas allows splitting methods by lines.

Tarefa

  1. Select the 'Store', 'Date', and 'Weekly_Sales' columns.
  2. Sort the values of the 'Weekly_Sales' column in descending order (not ascending).
  3. Display the first 10 rows of the obtained dataframe.

Do not worry about syntax, pandas allows splitting methods by lines.

Tudo estava claro?

Interesting! The most profitable weeks are the second to last weeks of December and November. Now, let's answer the question: What was the best selling week and store? Since our data is already weekly, we won't need to group observations this time.

Tarefa

  1. Select the 'Store', 'Date', and 'Weekly_Sales' columns.
  2. Sort the values of the 'Weekly_Sales' column in descending order (not ascending).
  3. Display the first 10 rows of the obtained dataframe.

Do not worry about syntax, pandas allows splitting methods by lines.

Seção 3. Capítulo 6
Mude 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