Jump to content

Recommended Posts

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')


Any suggestions?



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

subscribe figure
  • Create New...