title: Create data frame with missing values
body: <p>I want to create a table and fill missing values with my data</p>
  <p>The data look like this:</p>
  <pre><code>    {'A': 0, 'C': 0, 'D': 0, 'E': 0, 'F': 0, 'G': 0}
      {'A': 0, 'B': 0, 'C': 0, 'D': 0, 'E': 0, 'F': 0}
  </code></pre>
  <p>I want to convert the data into pandas data frame with missing values</p>
  <pre><code>     A B C D E F G
     1 0 na 0 0 0 0 0
     2 0 0 0 0 0 0 na
  </code></pre>
  <p>I could manually give the missing values (using the below code) and then convert it into data frame. Is there a better way to fill the missing values and convert it into data frame</p>
  <pre><code>import pandas as pd
  
  s = (( 0,  'na',  0,  0,  0,  0,  0),
  ( 0,  0,  0,  0,  0,  0,  'na'))
  
  print (pd.DataFrame(list(s)))
  
  print (pd.DataFrame(list(s), columns=['A', 'B', 'C', 'D', 'E', 'F','G'], index=[1,2]))  
  </code></pre>
  <p>Thanks</p>