title: Trying to read in arrays from multiple .txt files in Python but nothing is appearing
body: <p>I'm attempting to read in multiple .txt files into my program, but when I run the program, the precip variable does not print and there are no errors.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>import pandas as pd
  year = 2014
  while year &gt; 2019:  
      day = 1
      while day &lt; 31:
          infile = 'p24i_{0:4.0f}06{1:02.0f}_sortbyvalue.txt'.format(year, day)
          data_in = pd.read_csv(infile, skiprows=6, delim_whitespace=True, header=None).values
          precip = data_in[:,0]
          print(precip)
          day+=1  
      year+=1
  </code></pre>