title: Convert Dictionary to Pandas DataFrame
body: <p>I have a Python dictionary of dictionaries that models the TF-IDF weights of words in a set of documents. Like that:</p>
  <pre><code>Corpus_dict = {&quot;Doc1.txt&quot;: {'word1': XXXX , 'word2': XXXX , ... , wordn: xxx } 
                 &quot;Doc2.txt&quot;: {'word1': XXXX , 'word2': XXXX , ... , wordn: xxx }  
                  ...
                 &quot;Docm.txt&quot;: {'word1': XXXX , 'word2': XXXX , ... , wordn: xxx }}
  </code></pre>
  <p>Where xxx is the TF-IDF value for each of n words. I'd like to convert it to the folowing Pandas Data Frame:</p>
  <pre><code>keys     Doc1      Doc2   ...   Docn
  
  word1     xxx        xxx         xxx
  word2     xxx        xxx         xxx
                        ...
  word      nxxx       xxx         xxx
  </code></pre>
  <p>Can someone give me some help?</p>
  <p>Sorry for bad english and thanks!</p>