title: Write Pandas DataFrame to newline-delimited JSON
body: <p>I started by reading a CSV into a Pandas Data Frame via the pandas read_csv() function. Now that the data is in an actual data frame, I tried to write something like this:</p>
  
  <pre><code>for row in df.iterrows():
      row[1].to_json(path_to_file)
  </code></pre>
  
  <p>This works but only the last row is saved to disk because I've been rewriting the file each time I make a call to row[1].to_json(path_to_file). I've tried a few other file handling options but to no avail. Can anyone shed some insight on how to proceed? </p>
  
  <p>Thank you!</p>