FunctionRacerProblemsRace

Sort Events by Date

EasypandasPython

events has columns name and date, written like "5 Mar 2024" (day, three-letter month, year). All dates are different. Return the event names ordered from the earliest date to the latest.

Example 1

events {"name":["b","a"],"date":["5 Mar 2024","28 Feb 2024"]}
returns ["a","b"]

February comes before March.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More pandas problems