title: How to read multiple lines from csv into a single dataframe row with pandas
body: <p>I have a file that has a comment on the first the line, followed by two lines with the names of the headers slippted across them and a third line with the name of the index. The file looks like this:</p>
  
  <pre><code># 3 5 &lt;-- this is a comment indicating how many rows and column are matrix data
  head1 head2 head3
  head4 head5
  idx1 idx2 idx3
  
  1.1 1.2 1.3 
  1.4 1.5
  2.1 2.2 2.3
  2.4 2.5
  3.1 3.2 3.3
  3.4 3.5
  </code></pre>
  
  <p>How can I read the file with pandas in order to have a dataframe that looks like this?</p>
  
  <pre><code>        head1 head2 head3 head4 head5
  idx1    1.1   1.2   1.3   1.4   1.5
  idx2    2.1   2.2   2.3   2.4   2.5
  idx3    3.1   3.2   3.3   3.4   3.5
  </code></pre>