Section 1. Chapitre 14
single
Challenge: Indexes and Row Names
Glissez pour afficher le menu
Tâche
Glissez pour commencer à coder
Practice setting and using custom row names in data frames.
- Assign the values from
names_vectoras the row names of the data framedf. - Use the provided
selected_namesvector to subset the data frame by its row names. - Return the updated data frame with custom row names from
set_custom_row_names. - Return the subsetted data frame from
subset_by_row_names.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 14
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