title: How to create an ndjson object from a dictionary in python?
body: <p>I need help creating a NDJSON object from the following parsed data from on of the leading Advertising Platform. I intend to upload the data to bigquery. </p>
  
  <p>I succeeded in creating an NDJSON using pandas but I can't control for datatypes and it creates error during loading. [Especially between Int &amp; Floats]</p>
  
  <p>This is my object</p>
  
  <pre><code>datadict = {
   'start_time': ['2019-03-26','2019-03-27','2019-03-28'],
   'id': ['campaignid10', 'campaignid10', 'campaignid10'],
   'impression': [100, 200, 0],
   'tweets' : [10, None, None]
  }
  </code></pre>
  
  <p>Desired Output: also None should be null</p>
  
  <pre><code>{'start_time':'2019-03-26', 'id':'campaignid10', 'impression':100, 'tweets':10 }
  {'start_time':'2019-03-27', 'id':'campaignid10','impression':200, 'tweets':null}
  {'start_time':'2019-03-28', 'id':'campaignid10', 'impression':0, 'tweets':null}
  </code></pre>