@discover.register(SAS7BDAT)
def discover_sas(f, **kwargs):
    lines = f.readlines()
    next(lines) # burn header
    ln = next(lines)
    types = map(discover, ln)
    names = [col.name.decode("utf-8") for col in f.header.parent.columns]
    return var * Record(list(zip(names, types)))
dataset/ETHPy150Open blaze/odo/odo/backends/sas.py/discover_sas/original