Jump to content

Search the Community

Showing results for tags 'writecsv'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Getting started
    • Welcome lounge
    • Data journalism general chat
    • Are you stuck or could use some help? Post your questions here!
  • Discuss
    • Long Reads
    • Handbooks
    • Video courses
    • Newsletters - Conversations with Data
  • Other forums
    • Career advice & Jobs
    • Feedback on DataJournalism.com

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Found 1 result

  1. Hi. I've just finished the 4 module. My csv file is totally empty. Actually, I can write just the table headers. It happens when I run: f = open('filename.csv', 'w', encoding='utf8', newline='') writer = csv.writer(f, delimiter=',') writer.writerow(['plantNamedocketNumber', 'licenseNumber', 'reactorType', 'location', 'OwnerOperator', 'NRCRegion']) and then: df = pd.read_csv('filename.csv') df Any suggestions?
subscribe figure
  • Create New...