def mapper(self, _, line):
        if random.random() < self.sampling_probability:
            seed = '%20i' % random.randint(0, sys.maxsize)
            yield None, (seed, line)
Handle user selection of days.
dataset/ETHPy150Open Yelp/mrjob/mrjob/examples/mr_log_sampler.py/MRLogSampler.mapper--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/wx/date_editor.py/MultiCalendarCtrl._left_down