title: How to convert tuple of tuples to pandas.DataFrame in Python?
body: <p>No offence, if the questions is too basic. Let me know if you need more information.</p>
  
  <p>I am looking for an idea to convert square-form tuple of tuples to pandas.DataFrame in a clean/efficient/pythonic way,
  i.e. from </p>
  
  <pre><code>s =((1,0,0,0,),(2,3,0,0,),(4,5,6,0,),(7,8,9,10,))
  </code></pre>
  
  <p>to <code>pandas.DataFrame</code> like</p>
  
  <pre><code>   1  2  3   4
  1  1  0  0   0
  2  2  3  0   0
  3  4  5  6   0
  4  7  8  9  10
  </code></pre>
  
  <p>Naturally, this list can grow with more zeros appended in the upper-triangular (if we think of s as a tuple of rows).</p>
  
  <p><code>DataFrame(t)</code> seems to fail.</p>