

@convert.register(pd.DataFrame, SAS7BDAT, cost=4.0)
def sas_to_DataFrame(s, dshape=None, **kwargs):
    df = s.to_data_frame()
    if any(((typ in (date_, datetime_)) for typ in dshape.measure.types)):
        df = coerce_datetimes(df)
    names = [col.decode('utf-8') for col in s.column_names]
    df = df[names]
    return df

dataset/ETHPy150Open blaze/odo/odo/backends/sas.py sas_to_DataFrame/original