Write all elements in rows (an iterable of row objects as described above) to the writer’s file object, formatted according to the current dialect.
csvwriter.writerows(rows)