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

bookCAC 2/2

CAC formula:

To write numbers in 0.0 format, use the next code round(number, 1).

Task

  1. Create the expenses variable by finding the sum of all cost. values. Use the .sum() function.
  2. Find the number of rows in the df and put this value into the customers_number variable.
  3. Define the CAC variable using the formula.
  4. Print the CAC variable in the 0.00 format.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 4. Chapter 5
toggle bottom row

bookCAC 2/2

CAC formula:

To write numbers in 0.0 format, use the next code round(number, 1).

Task

  1. Create the expenses variable by finding the sum of all cost. values. Use the .sum() function.
  2. Find the number of rows in the df and put this value into the customers_number variable.
  3. Define the CAC variable using the formula.
  4. Print the CAC variable in the 0.00 format.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 4. Chapter 5
toggle bottom row

bookCAC 2/2

CAC formula:

To write numbers in 0.0 format, use the next code round(number, 1).

Task

  1. Create the expenses variable by finding the sum of all cost. values. Use the .sum() function.
  2. Find the number of rows in the df and put this value into the customers_number variable.
  3. Define the CAC variable using the formula.
  4. Print the CAC variable in the 0.00 format.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

CAC formula:

To write numbers in 0.0 format, use the next code round(number, 1).

Task

  1. Create the expenses variable by finding the sum of all cost. values. Use the .sum() function.
  2. Find the number of rows in the df and put this value into the customers_number variable.
  3. Define the CAC variable using the formula.
  4. Print the CAC variable in the 0.00 format.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 4. Chapter 5
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
some-alt