Dividing into Groups
Now we will divide the data into the control user group and the test user group.
Opgave
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øsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 6
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Opsummér dette kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 4.55
Dividing into Groups
Stryg for at vise menuen
Now we will divide the data into the control user group and the test user group.
Opgave
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øsning
Var alt klart?
Tak for dine kommentarer!
Awesome!
Completion rate improved to 4.55Sektion 3. Kapitel 6
single