Seksjon 1. Kapittel 6
single
Challenge: Dates and Times
Sveip for å vise menyen
Oppgave
Sveip for å begynne å 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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 6
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår