title: Dataframe formation structure
body: <p>I've a dictionary given below</p>
  
  <p><code>
  d={'key1': ['val11', 'val12', 'val13'],
     'key2': ['val21', 'val22', 'val23']}
  </code></p>
  
  <p>I am struggling to create a dataframe like following </p>
  
  <pre><code>key1 value11
       value12
       value13
  
  key2 value21
       value22
       value23
  </code></pre>
  
  <p>I am using pandas and here is my effort</p>
  
  <pre><code>df=pd.DataFrame(d)
  df=df.unstack()
  data = pd.DataFrame(df)
  data
  </code></pre>
  
  <p>but I am getting the above data frame and I need only <strong>two columns</strong> that have <strong>keys</strong> and <strong>values</strong> the same way as they are right now. I don't need highlighted number column. Any help will be appreciated a lot.</p>
  
  <p><a href="https://i.stack.imgur.com/OA9vG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OA9vG.png" alt="Dataframe Image"></a></p>