Python Data Sampling
Budget: ₹600 – ₹1,500 INR
This is a case study for a survey customer.
Please write some (Python)-Code to create a representative sample (size = n) of a given user base in DataFrame X, based on the relative size of a given attribute in the “whole population” of DataFrame Y
Example:
For a survey, you need to create list of 5,000 users who have similar age groups as the whole user list
The excel.file has been attached and there are 2 data sheets inside.
Please write some (Python)-Code to create a representative sample (size = n) of a given user base in DataFrame X, based on the relative size of a given attribute in the “whole population” of DataFrame Y
Example:
For a survey, you need to create list of 5,000 users who have similar age groups as the whole user list
The excel.file has been attached and there are 2 data sheets inside.