Skip to content

Instantly share code, notes, and snippets.

@M-Bryant
Created November 24, 2013 20:47
Show Gist options
  • Save M-Bryant/7632187 to your computer and use it in GitHub Desktop.
Save M-Bryant/7632187 to your computer and use it in GitHub Desktop.
arcpy: Set/Check Not a number (NAN)
def setNAN():
minx = float('nan')
def checkNAN():
import math
if math.isnan(minx):
return 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment