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

Conteúdo do Curso

Analyzing and Visualizing Real-World Data

Analyzing and Visualizing Real-World Data

1. Preprocessing Data: Part I
2. Preprocessing Data: Part II
3. Analyzing Data
4. Visualizing Data

bookFirst Look at the Data

Welcome to the last section! In the previous section, we investigated that the most profitable week, according to sales data, is the 'pre-Christmas' week, while Christmas week itself is significantly worse.

We want to start with some exploratory analysis: let's see revenues over weeks using matplotlib and seaborn.

Tarefa
test

Swipe to show code editor

  1. Import the matplotlib.pyplot with the alias plt, and seaborn with the alias sns.
  2. Prepare data for visualization: calculate the total revenue for all shops across weeks. To do it, group the values of the df dataframe by the 'Date' column, select the 'Weekly_Sales' column, calculate total values, and reset indexes. Save the obtained data within the data variable.
  3. Initialize a line plot with the 'Date' values on the x-axis, 'Weekly_Sales' values on the y-axis, using the data dataframe.
  4. Display the plot.

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

bookFirst Look at the Data

Welcome to the last section! In the previous section, we investigated that the most profitable week, according to sales data, is the 'pre-Christmas' week, while Christmas week itself is significantly worse.

We want to start with some exploratory analysis: let's see revenues over weeks using matplotlib and seaborn.

Tarefa
test

Swipe to show code editor

  1. Import the matplotlib.pyplot with the alias plt, and seaborn with the alias sns.
  2. Prepare data for visualization: calculate the total revenue for all shops across weeks. To do it, group the values of the df dataframe by the 'Date' column, select the 'Weekly_Sales' column, calculate total values, and reset indexes. Save the obtained data within the data variable.
  3. Initialize a line plot with the 'Date' values on the x-axis, 'Weekly_Sales' values on the y-axis, using the data dataframe.
  4. Display the plot.

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

bookFirst Look at the Data

Welcome to the last section! In the previous section, we investigated that the most profitable week, according to sales data, is the 'pre-Christmas' week, while Christmas week itself is significantly worse.

We want to start with some exploratory analysis: let's see revenues over weeks using matplotlib and seaborn.

Tarefa
test

Swipe to show code editor

  1. Import the matplotlib.pyplot with the alias plt, and seaborn with the alias sns.
  2. Prepare data for visualization: calculate the total revenue for all shops across weeks. To do it, group the values of the df dataframe by the 'Date' column, select the 'Weekly_Sales' column, calculate total values, and reset indexes. Save the obtained data within the data variable.
  3. Initialize a line plot with the 'Date' values on the x-axis, 'Weekly_Sales' values on the y-axis, using the data dataframe.
  4. Display the plot.

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!

Welcome to the last section! In the previous section, we investigated that the most profitable week, according to sales data, is the 'pre-Christmas' week, while Christmas week itself is significantly worse.

We want to start with some exploratory analysis: let's see revenues over weeks using matplotlib and seaborn.

Tarefa
test

Swipe to show code editor

  1. Import the matplotlib.pyplot with the alias plt, and seaborn with the alias sns.
  2. Prepare data for visualization: calculate the total revenue for all shops across weeks. To do it, group the values of the df dataframe by the 'Date' column, select the 'Weekly_Sales' column, calculate total values, and reset indexes. Save the obtained data within the data variable.
  3. Initialize a line plot with the 'Date' values on the x-axis, 'Weekly_Sales' values on the y-axis, using the data dataframe.
  4. Display the plot.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 4. Capítulo 1
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