title: How to combine several similar .csv files into one dataframe with given structure
body: <p>I have many .csv files which are similar in structure:</p>
  
  <pre><code>1.csv
  
  Type n
  A   1
  B   20
  C   34
  D   5
  ...
  
  2.csv
  
  Type n
  A   2
  B   15
  C   16
  D   5
  ...
  </code></pre>
  
  <p>I want to combine them in something like:</p>
  
  <pre><code>Type  n1   n2
    A   1    2
    B   20   15
    C   34   16
    D   5    5
    ...
  </code></pre>
  
  <p>When I use lapply I get</p>
  
  <pre><code> Type n  Type   n
    A   1    A    2
    B   20   B    15
    C   34   C    16
    D   5    D    5
    ...
  </code></pre>
  
  <p>Is there any simple way to combine them properly? </p>
  
  <p>I'm open for solutions in either R or Python</p>