Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Dividing into Groups | Performing One More AB Test
A/B Testing in Python
course content

Course Content

A/B Testing in Python

A/B Testing in Python

1. What is A/B Test?
2. The First A/B Test
3. Performing One More AB Test

book
Dividing into Groups

Now we will divide the data into the control user group and the test user group.

Task

Swipe to start coding

  1. Create the new variable df_control with the 'control' group and using the DataFrame.query() function.
  2. Create the new variable df_test with the 'test' group.
  3. Show the first row of the df_control.
  4. Show the first row of the df_test.

Solution

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Β 3. ChapterΒ 6
toggle bottom row

book
Dividing into Groups

Now we will divide the data into the control user group and the test user group.

Task

Swipe to start coding

  1. Create the new variable df_control with the 'control' group and using the DataFrame.query() function.
  2. Create the new variable df_test with the 'test' group.
  3. Show the first row of the df_control.
  4. Show the first row of the df_test.

Solution

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Β 3. ChapterΒ 6
Switch to desktopSwitch 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