()
return start + timedelta(days=random_days)
Function generates random date for 'Start Date' column
Function generates random date for 'Start Date' column
Function generates random date for Start Date column
def random_date():
    """
    Function generates random date for 'Start Date' column
    """
    start = date(MIN_YEAR, 1, 1)
    years = MAX_YEAR - MIN_YEAR + 1
    end = start + timedelta(days=365 * years)
    delta = end - start
    int_delta = delta.days
    random_days = randrange(int_delta)
    return start + timedelta(days=random_days)
def random_date ( ) : start = date ( MIN_YEAR , 1 , 1 ) years = MAX_YEAR - MIN_YEAR + 1 end = start + timedelta ( days = 365 * years ) delta = end - start int_delta = delta . days random_days = randrange ( int_delta ) return start + timedelta ( days = random_days )