Avsnitt 1. Kapitel 6
single
Challenge: Dates and Times
Svep för att visa menyn
Uppgift
Svep för att börja koda
Work with date and time data by parsing a vector of date strings, extracting the month from each date, and counting the number of entries that fall within each month.
- Convert each element in
date_stringsto a date object. - Extract the month name from each date.
- Count the frequency of each unique month name.
- Return the result as a table of month counts.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. 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