def as_df():
records = []<EOL>for sym, ele in vars(_this).items():<EOL><INDENT>if sym not in ["<STR_LIT>", "<STR_LIT>"] and not sym.startswith("<STR_LIT:_>"):<EOL><INDENT>for k, v in vars(ele).items():<EOL><INDENT>if k.startswith("<STR_LIT:_>") and k[<NUM_LIT:1>].isdigit():<EOL><INDENT>records.append({kk: vv for kk, vv in vars(v).items() if not kk.startswith("<STR_LIT:_>")})<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return _DF.from_records(records)<EOL>
Return a dataframe of isotopes.