def max_diff_w_nan(array):
    """Return the maximum different between element in an array"""
    
    arr_no_nan=[a for a in array if a==a]
    arr_no_nan.sort()
    
    return arr_no_nan[-1]-arr_no_nan[0]