def expand_year(year):
    """Convert 2-digit year to 4-digit year."""
    
    if year < 80:
        return 2000 + year
    else:
        return 1900 + year
dataset/ETHPy150Open olemb/dbfread/dbfread/dbf.py/expand_year/original