Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
How Much Do We Earn | Becoming an Analyst
Introduction to Python for Data Analysis
course content

Conteúdo do Curso

Introduction to Python for Data Analysis

Introduction to Python for Data Analysis

1. Introduction to Python 1/2
2. Introduction to Python 2/2
3. Explore Dataset
4. Becoming an Analyst

How Much Do We Earn

You may recognize the column 'money_spent' that corresponds to the amount of money the user spent and gained. In this chapter, we will find if there is any dependence between the day of the week and the amount of money we have!

But firstly, recall some functions:

Group Data:

Visualization:

Tarefa

  1. Group data:
  • Extract only columns 'day', 'money_spent' from the df DataFrame.
  • Group by the column 'day'.
  • Apply .mean() function to grouped df.
  • Apply .reset_index() function.
  1. Create a barplot:
  • Use df as the first argument.
  • Use column 'day' for x-axis.
  • Use the column 'money_spent' for the y-axis.
  1. Output barplot.

Tarefa

  1. Group data:
  • Extract only columns 'day', 'money_spent' from the df DataFrame.
  • Group by the column 'day'.
  • Apply .mean() function to grouped df.
  • Apply .reset_index() function.
  1. Create a barplot:
  • Use df as the first argument.
  • Use column 'day' for x-axis.
  • Use the column 'money_spent' for the y-axis.
  1. Output barplot.

Tudo estava claro?

Seção 4. Capítulo 8
toggle bottom row

How Much Do We Earn

You may recognize the column 'money_spent' that corresponds to the amount of money the user spent and gained. In this chapter, we will find if there is any dependence between the day of the week and the amount of money we have!

But firstly, recall some functions:

Group Data:

Visualization:

Tarefa

  1. Group data:
  • Extract only columns 'day', 'money_spent' from the df DataFrame.
  • Group by the column 'day'.
  • Apply .mean() function to grouped df.
  • Apply .reset_index() function.
  1. Create a barplot:
  • Use df as the first argument.
  • Use column 'day' for x-axis.
  • Use the column 'money_spent' for the y-axis.
  1. Output barplot.

Tarefa

  1. Group data:
  • Extract only columns 'day', 'money_spent' from the df DataFrame.
  • Group by the column 'day'.
  • Apply .mean() function to grouped df.
  • Apply .reset_index() function.
  1. Create a barplot:
  • Use df as the first argument.
  • Use column 'day' for x-axis.
  • Use the column 'money_spent' for the y-axis.
  1. Output barplot.

Tudo estava claro?

Seção 4. Capítulo 8
toggle bottom row

How Much Do We Earn

You may recognize the column 'money_spent' that corresponds to the amount of money the user spent and gained. In this chapter, we will find if there is any dependence between the day of the week and the amount of money we have!

But firstly, recall some functions:

Group Data:

Visualization:

Tarefa

  1. Group data:
  • Extract only columns 'day', 'money_spent' from the df DataFrame.
  • Group by the column 'day'.
  • Apply .mean() function to grouped df.
  • Apply .reset_index() function.
  1. Create a barplot:
  • Use df as the first argument.
  • Use column 'day' for x-axis.
  • Use the column 'money_spent' for the y-axis.
  1. Output barplot.

Tarefa

  1. Group data:
  • Extract only columns 'day', 'money_spent' from the df DataFrame.
  • Group by the column 'day'.
  • Apply .mean() function to grouped df.
  • Apply .reset_index() function.
  1. Create a barplot:
  • Use df as the first argument.
  • Use column 'day' for x-axis.
  • Use the column 'money_spent' for the y-axis.
  1. Output barplot.

Tudo estava claro?

You may recognize the column 'money_spent' that corresponds to the amount of money the user spent and gained. In this chapter, we will find if there is any dependence between the day of the week and the amount of money we have!

But firstly, recall some functions:

Group Data:

Visualization:

Tarefa

  1. Group data:
  • Extract only columns 'day', 'money_spent' from the df DataFrame.
  • Group by the column 'day'.
  • Apply .mean() function to grouped df.
  • Apply .reset_index() function.
  1. Create a barplot:
  • Use df as the first argument.
  • Use column 'day' for x-axis.
  • Use the column 'money_spent' for the y-axis.
  1. Output barplot.

Seção 4. Capítulo 8
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