Dividing into Groups
Now we will divide the data into the control user group and the test user group.
Tâche
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
.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 6
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Suggested prompts:
Résumer ce chapitre
Expliquer le code dans file
Expliquer pourquoi file ne résout pas la tâche
Awesome!
Completion rate improved to 4.55
Dividing into Groups
Glissez pour afficher le menu
Now we will divide the data into the control user group and the test user group.
Tâche
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
.
Solution
Tout était clair ?
Merci pour vos commentaires !
Awesome!
Completion rate improved to 4.55Section 3. Chapitre 6
single