Question: 9 . 8 LAB: scale ( ) and MinMaxScaler ( ) Load the hmeq _ small.csv data set as a data frame. Standardize the data
LAB: scale and MinMaxScaler
Load the hmeqsmall.csv data set as a data frame.
Standardize the data set as a new data frame.
Normalize the data set as a new data frame.
Print the means and standard deviations of both the standardized and normalized data.
Ex: Using the first rows, found in hmeqsample.csv the output is:
The means of df are LOAN e
MORTDUE e
VALUE e
YOJ e
CLAGE e
CLNO e
DEBTINC e
dtype: float
The standard deviations of df are LOAN
MORTDUE
VALUE
YOJ
CLAGE
CLNO
DEBTINC
dtype: float
The means of df are LOAN
MORTDUE
VALUE
YOJ
CLAGE
CLNO
DEBTINC
dtype: float
The standard deviations of df are LOAN
MORTDUE
VALUE
YOJ
CLAGE
CLNO
DEBTINC
dtype: float
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
