Question: Identify the numerical variables with zero variance ( i . e . , zero standard deviation ) and save them in a LIST Drop these
Identify the numerical variables with zero variance ie zero standard deviation and save them in a LIST
Drop these numerical variables with zero variance ie zero standard deviation from the dataset df The dataset df should not have these variables going forward.
Hints:
For each numerical variable, compute the standard deviation. If the standard deviation is zero, delete ie drop that variable from the dataset dfCheck Modules b: Dropping Variables
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
