1. Engineering
  2. Computer Science
  3. looking for lines of pandaspython code that will take two...

Question: looking for lines of pandaspython code that will take two...

Question details

Looking for lines of pandas/python code that will take two variables in a data frame ("age" and "income") and perform a min-max normalization onto a range of 0.0-1.0 to create two new variables: "normal_age" and "normal_income." The variables then need to be moved so that they are column to the right of their respective raw data (i.e. "normal_age" is just to the right of "age")

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution