def format_result_csv(self, cursor, out=sys.stdout):
        writer = UnicodeWriter(out)
        writer.writerow(cursor.keys())
        writer.writerows(cursor)
Render an sql cursor set in CSV format.
dataset/ETHPy150Open jaysw/ipydb/ipydb/plugin.py/SqlPlugin.format_result_csv