title: Creating a dataframe from multiple lists with list names as column names
body: <p>I have 3 lists:</p>
  
  <pre><code>name = ['Robert']
  age = ['25']
  gender = ['m']
  </code></pre>
  
  <p>I want to create a dataframe like the one shown below(with name of the list as column names):</p>
  
  <p><a href="https://i.stack.imgur.com/XXPLI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XXPLI.png" alt="enter image description here"></a></p>
  
  <p>This is what I'm doing to get this dataframe :</p>
  
  <pre><code>data=pd.DataFrame([name,age,gender]).T
  data.columns=['name','age','gender']
  </code></pre>
  
  <p>I want to know whether there is a better way of doing this</p>