Dividing into Groups
Now we will divide the data into the control user group and the test user group.
Oppgave
Swipe to start coding
- Create the new variable
df_controlwith the'control'group and using theDataFrame.query()function. - Create the new variable
df_testwith the'test'group. - Show the first row of the
df_control. - Show the first row of the
df_test.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 6
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Oppsummer dette kapittelet
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 4.55
Dividing into Groups
Sveip for å vise menyen
Now we will divide the data into the control user group and the test user group.
Oppgave
Swipe to start coding
- Create the new variable
df_controlwith the'control'group and using theDataFrame.query()function. - Create the new variable
df_testwith the'test'group. - Show the first row of the
df_control. - Show the first row of the
df_test.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 6
single