SQLDAXExcelPython
Leaderboard
pandas basicsEasy10 points

Top five rows by a column

Set result to ProductName and UnitPrice for the five most expensive products, highest first.

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.