FunctionRacerProblemsRace

Split Full Name

EasypandasPython

people has a column full_name written as "First Last" (exactly one space). Return a DataFrame with two columns, first and last, holding the two parts, in row order.

Example 1

people {"full_name":["Ada Lovelace","Alan Turing"]}
returns {"columns":["first","last"],"rows":[["Ada","Lovelace"],["Alan","Turing"]]}

Ada and Lovelace, Alan and Turing.

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