Challenge: Functional Data Analysis
Uppgift
Swipe to start coding
Pair up each element from the names and ages vectors, then filter out any pairs where the age is less than 18.
- Use
Mapto combinenamesandagesinto a list of pairs, where each pair contains a name and the corresponding age. - Use
Filterto keep only those pairs where the age is 18 or above.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 6
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Fantastiskt!
Completion betyg förbättrat till 5.56
Challenge: Functional Data Analysis
Svep för att visa menyn
Uppgift
Swipe to start coding
Pair up each element from the names and ages vectors, then filter out any pairs where the age is less than 18.
- Use
Mapto combinenamesandagesinto a list of pairs, where each pair contains a name and the corresponding age. - Use
Filterto keep only those pairs where the age is 18 or above.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 6
single