def to_df(self, method: str = '<STR_LIT>', **kwargs) -> '<STR_LIT>':
ll = self._is_valid()<EOL>if ll:<EOL><INDENT>print(ll['<STR_LIT>'])<EOL>return None<EOL><DEDENT>else:<EOL><INDENT>return self.sas.sasdata2dataframe(self.table, self.libref, self.dsopts, method, **kwargs)<EOL><DEDENT>
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