Divide each column by that column’s maximum and print the result. max(axis=0) reduces down the rows.
Data analysis labNumPy problems
Problem 25 of 50 · Broadcasting · Medium
Divide each column by its max
Scale every column into the range ending at 1.
Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.
1
Your solution
2