title: NameError: name 'nan' is not defined in Python
body: <p>I keep getting a Name Error in anaconda and I did try to import numpy as nan the error does not change. Anybody that can point me in the right direction??</p>
  <p>Code snipped shared below</p>
  <pre><code>import pandas as pd
  import lzhw
  import time
  
  #Start counting the time
  start = time.perf_counter()
  #Begin compression
  chunks = int(gc.shape[0] / 4) ## to have 4 chunks
  compressed_chunks = lzhw.CompressedFromCSV(&quot;Fake\\File\\Path\\sensor_readings.csv&quot;, chunksize = chunks)
  
  print(&quot;Execution Complete&quot;)
  </code></pre>