I have a data frame and I want to get multiple output samples from the dataset.
And there are some constraints like min and max for each of the categories like, n