title: pandas.errors.EmptyDataError: No columns to parse from file
body: <p>I have created a list datatype which has the path of three folders where each folder has a lot of .txt files.
  I am trying to work with each file in the folder by making it a pandas dataframe but I am getting the error as listed.</p>
  
  <p>CODE-</p>
  
  <pre><code>for l in list: 
      for root, dirs, files in os.walk(l, topdown=False):
          for name in files:
              #print(os.path.join(root, name))
  
              df = pd.read_csv(os.path.join(root, name))   
  </code></pre>
  
  <p>ERROR- </p>
  
  <pre><code>Traceback (most recent call last):
        File "feature_drebin.py", line 18, in &lt;module&gt;
          df = pd.read_csv(os.path.join(root, name))
        File "E:\anaconda\lib\site-packages\pandas\io\parsers.py", line 709, in parser_f
          return _read(filepath_or_buffer, kwds)
        File "E:\anaconda\lib\site-packages\pandas\io\parsers.py", line 449, in _read
          parser = TextFileReader(filepath_or_buffer, **kwds)
        File "E:\anaconda\lib\site-packages\pandas\io\parsers.py", line 818, in __init__
          self._make_engine(self.engine)
        File "E:\anaconda\lib\site-packages\pandas\io\parsers.py", line 1049, in _make_engine
          self._engine = CParserWrapper(self.f, **self.options)
        File "E:\anaconda\lib\site-packages\pandas\io\parsers.py", line 1695, in __init__
          self._reader = parsers.TextReader(src, **kwds)
        File "pandas/_libs/parsers.pyx", line 565, in pandas._libs.parsers.TextReader.__cinit__
      pandas.errors.EmptyDataError: No columns to parse from file
  </code></pre>
  
  <p>.txt file</p>
  
  <p><a href="https://i.stack.imgur.com/0W9Lm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/0W9Lm.png" alt="enter image description here"></a></p>