Challenge: Modify Data Frames
Tarefa
Swipe to start coding
You are given a data frame of class records. Modify this data frame as follows:
- Add a new column named
attendancewith the values 90, 95, and 88 for the existing students. - Remove the
agecolumn from the data frame. - Add a new row for a student named "Diana" with a grade of 87 and attendance of 98.
Assign the final, modified data frame to the variable updated_students.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 4
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 5.56
Challenge: Modify Data Frames
Deslize para mostrar o menu
Tarefa
Swipe to start coding
You are given a data frame of class records. Modify this data frame as follows:
- Add a new column named
attendancewith the values 90, 95, and 88 for the existing students. - Remove the
agecolumn from the data frame. - Add a new row for a student named "Diana" with a grade of 87 and attendance of 98.
Assign the final, modified data frame to the variable updated_students.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 4
single