Sektion 1. Kapitel 6
single
Challenge: Dates and Times
Stryg for at vise menuen
Opgave
Stryg for at begynde at kode
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 alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 6
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat