df = pd.DataFrame( { "area": [120, 180, 150, 210, 105], "age": [5, 2, 1, 2, 1], "price": [30, 90, 100, 180, 85] } ) df = normalize(df)