FunctionRacerProblemsRace

Max per Column

BeginnerpandasPython

Every column of df holds numbers. Return a dictionary mapping each column name to the largest value in that column.

Example 1

df {"a":[1,7,3],"b":[10,2,5]}
returns {"a":7,"b":10}

a peaks at 7, b at 10.

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