def to_df(self, method: str='MEMORY', **kwargs) -> 'pd.DataFrame':
    '\n        Export this SAS Data Set to a Pandas Data Frame\n\n        :param method: defaults to MEMORY; the original method. CSV is the other choice which uses an intermediary csv file; faster for large data\n        :param kwargs:\n        :return: Pandas data frame\n        '
    ll = self._is_valid()
    if ll:
        print(ll['LOG'])
        return None
    else:
        if self.sas.sascfg.pandas:
            raise type(self.sas.sascfg.pandas)(self.sas.sascfg.pandas.msg)
        return self.sas.sasdata2dataframe(self.table, self.libref, self.dsopts, method, **kwargs)
Export this SAS Data Set to a Pandas Data Frame

:param method: defaults to MEMORY; the original method. CSV is the other choice which uses an intermediary csv file; faster for large data
:param kwargs:
:return: Pandas data frame
def to_df(self, method: str='MEMORY', **kwargs) -> 'pd.DataFrame':
    '\n        Export this SAS Data Set to a Pandas Data Frame\n\n        :param method: defaults to MEMORY; the original method. CSV is the other choice which uses an intermediary csv file; faster for large data\n        :param kwargs:\n        :return: Pandas data frame\n        '
    ll = self._is_valid()
    if ll:
        print(ll['LOG'])
        return None
    else:
        if self.sas.sascfg.pandas:
            raise type(self.sas.sascfg.pandas)(self.sas.sascfg.pandas.msg)
        return self.sas.sasdata2dataframe(self.table, self.libref, self.dsopts, method, **kwargs)