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

CAC 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.

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.

Everything was clear?

Section 4. Chapter 5
toggle bottom row

CAC 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.

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.

Everything was clear?

Section 4. Chapter 5
toggle bottom row

CAC 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.

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.

Everything was clear?

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.

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