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

Swipe to show menu

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
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

close

Awesome!

Completion rate improved to 4.55

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!

close

Awesome!

Completion rate improved to 4.55

Swipe to show menu

some-alt