Kursinhalt
A/B Testing in Python
A/B Testing in Python
1. What is A/B Test?
Dividing into Groups
Now we will divide the data into the control user group and the test user group.
Aufgabe
Swipe to start coding
- Create the new variable
df_control
with the'control'
group and using theDataFrame.query()
function. - Create the new variable
df_test
with the'test'
group. - Show the first row of the
df_control
. - Show the first row of the
df_test
.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 6
Dividing into Groups
Now we will divide the data into the control user group and the test user group.
Aufgabe
Swipe to start coding
- Create the new variable
df_control
with the'control'
group and using theDataFrame.query()
function. - Create the new variable
df_test
with the'test'
group. - Show the first row of the
df_control
. - Show the first row of the
df_test
.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 6