title: for row in reader: Error: line contains NUL
body: <p>This is what my program looks like right now:</p>
  <pre><code>def getdata(file_name):
      with open(file_name, errors='ignore') as f:
          rowdata = []
          reader = csv.reader(f)
          for row in reader:
              rowdata.append(row)
      return rowdata
  </code></pre>
  <p>I keep getting this error</p>
  <pre><code>for row in reader:
  
  Error: line contains NUL
  </code></pre>