title: Dataframe from tuples with transposition
body: <p>I don't understand what I would need to change from the code below in order to transpose the matrix elements.
  This is the code:</p>
  <pre><code>import pandas as pd
  
  a = ('1', ['x','y'])
  b = ('2', ['d','t'])
  
  lst = [a, b]
  
  df=pd.DataFrame(lst)
  df
  </code></pre>
  <p>The result is the following:</p>
  <p><a href="https://i.stack.imgur.com/t9eWY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t9eWY.png" alt="enter image description here" /></a></p>
  <p>Instead I would need to get the following result:</p>
  <p><a href="https://i.stack.imgur.com/XJypE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XJypE.png" alt="enter image description here" /></a></p>
  <p>Thank you very much</p>