def isnan(value):
    try:
        from math import isnan
        return isnan(value)
    except __HOLE__:
        return isinstance(value, float) and value != value
dataset/ETHPy150Open Miserlou/django-easy-split/easy_split/stats.py/isnan