Question: Use the Pandas cut() method to create a new field called ventile that contains an integer value from zero to 19 indicating which of 20
Use the Pandas cut() method to create a new field called "ventile" that contains an integer value from zero to 19 indicating which of 20 buckets each row belongs to, where each bucket represents approximately* the same population, with bucket zero holding the bottom 5% of the world population according to RRinc, and bucket 19 holding the top 5% of the world population according to RRinc.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
