def stats_first(abf):
msg="<STR_LIT>"<EOL>for sweep in range(abf.sweeps):<EOL><INDENT>for AP in abf.APs[sweep]:<EOL><INDENT>for key in sorted(AP.keys()):<EOL><INDENT>if key[-<NUM_LIT:1>] is "<STR_LIT:I>" or key[-<NUM_LIT:2>:] in ["<STR_LIT>","<STR_LIT>"]:<EOL><INDENT>continue<EOL><DEDENT>msg+="<STR_LIT>"%(key,AP[key])<EOL><DEDENT>return msg<EOL><DEDENT><DEDENT>
provide all stats on the first AP.