Section 1. Chapter 6
single
Challenge: Dates and Times
Swipe to show menu
Task
Swipe to start coding
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.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 6
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat