SQLDAXExcelPython
Leaderboard
pandas basicsMedium20 points

Split text in a column

Take the first word of CustomerName in customers. Set result to how many different first names there are.

Show solutionLifetime

Real Python running in your browser through Pyodide, with pandas available. Nothing you type is sent to a server unless you save a score.

Python
Loading editor…

Press Ctrl+Enter or Run to see the result here.