Sectie 1. Hoofdstuk 14
single
Challenge: Indexes and Row Names
Veeg om het menu te tonen
Taak
Veeg om te beginnen met coderen
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 14
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.