title: Create json array using list in python
body: <p>Suppose we have one data frame <code>df</code> </p>
  
  <pre><code> id=['abc','xyz','lmn']
   df=pd.DataFrame(id)
   df.columns=['id']
   print(df)
  
       id
   0  abc
   1  xyz
   2  lmn
  </code></pre>
  
  <p>I want to generate the following array from it </p>
  
  <pre><code> idd=[ { 'id': 'abc' ,},
         {'id': 'xyz',},
          {'id':'lmn' ,},]
  </code></pre>
  
  <p>How can I do it?</p>