title: Pandas row to json
body: <p>I have a dataframe in pandas and my goal is to write each row of the dataframe as a new json file.</p>
  
  <p>I'm a bit stuck right now. My intuition was to iterate over the rows of the dataframe (using df.iterrows) and use json.dumps to dump the file but to no avail.</p>
  
  <p>Any thoughts? </p>