add field names as headers in csv constructor `writer`,writer.writeheader()