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

Course Content

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:

Task

  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.

Task

  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.

Everything was clear?

Section 4. Chapter 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:

Task

  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.

Task

  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.

Everything was clear?

Section 4. Chapter 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:

Task

  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.

Task

  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.

Everything was clear?

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:

Task

  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.

Section 4. Chapter 8
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt