Created
January 17, 2017 01:33
-
-
Save hansonkd/c82e61bd0093cd800d83055655bb4840 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with open('file_output.csv', 'w') as csvfile: | |
writer = csv.DictWriter(csvfile, fieldnames=['Label', 'Issue Date']) | |
for security in flat_securities: | |
writer.write_row({'Label': security.label, 'Issue Date': security.issue_date}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment