How to generate multiple lists/vectors (same length) that are unique or partially unique?
I have created the following function that can generate a list of 0s and 1s (basically a bitstring) using randomization.
Randomizer Tool in Python
I have a requirement where I have dataset which contains employee name, employee numbers, job title and their manager name. I want to select a subset of employees from the full list. Say for e.g. 100 out of 1000 employees but the selection should be base don some criteria. For e.g. lets say selected employees should be equally distributed among the managers i.e. if there are 10 district managers then there should be 10 employees selected under each manager, similarly we can have some criteria based on job titles.