title: File names (from multiple files) as a column names in one data frame
body: <p>I have many text files with one column data,different dtype (float64, date), no header inside.<br>
  I'm trying to write code which will:<br>
   - get all file names without extension -> create a list (this works!)<br>
   - read all files in one directory and concat them into one data frame with one numerated index.  </p>
  
  <p>My code:</p>
  
  <pre class="lang-py prettyprint-override"><code>filelist = os.listdir(path)                             #Make a file list
  file_names=[os.path.splitext(x)[0] for x in filelist]   #Remove file extension
  </code></pre>
  
  <p>Tried this (first option):</p>
  
  <pre class="lang-py prettyprint-override"><code>df_list = [pd.read_table(file) for file in filelist]
  df = pd.concat(df_list,ignore_index=True)
  </code></pre>
  
  <p>...but I got 3 columns from 6 files with completely messed data.</p>
  
  <p>Also tried this (second option):</p>
  
  <pre class="lang-py prettyprint-override"><code>df=pd.DataFrame(columns=file_names)
  
  for file in filelist:
      frame=pd.read_csv(file)
      df=df.append(frame, ignore_index=True)
  </code></pre>
  
  <p>...this also doesn't work.</p>
  
  <p>Any advice would be appreciated.  </p>
  
  <p><strong>Input</strong><br>
  At the beginning of Q*.txt files are only zeros (about 100values), and after this numbers shows.</p>
  
  <pre><code>Q1.txt   Q2.txt   T21     T22
    0       0      51.06    77.46
    0       0      50.32    77.33
    0       0      50.90    77.45
  </code></pre>
  
  <p>When I run "first option", I got:</p>
  
  <pre class="lang-py prettyprint-override"><code> filelist
   &gt;&gt;&gt;['Q1.txt', 'Q2.txt','T21.txt', 'T22.txt']     
   file_names
   &gt;&gt;&gt;['Q1', 'Q2','T21', 'T22']
   df.dtypes
   &gt;&gt;&gt;0        object
   &gt;&gt;&gt;51.06    object
   &gt;&gt;&gt;77.46    object
   &gt;&gt;&gt;dtype: object
  </code></pre>
  
  <p><strong>Output</strong> file</p>
  
  <pre><code>    0  51.06 77.46
   0  0       
   1  0       
   2  0       
  </code></pre>
  
  <p>It looks like first 2 files (those with zeros at the beginning) are in one column. Second and third are first values of file T21 and T22.  </p>
  
  <p>Thanks to @Viktor Kerkez I've added <code>header=None</code> to the <code>pd.read_table</code> and now all files are in one column, dtype=object.<br>
  How can I split all files to many columns ?</p>