(variable: Orange.data.Variable, data: ndarray)
Return a bool mask masking N/A elements in `data` for the `variable`.
Return a bool mask masking N/A elements in `data` for the `variable`.
Return a bool mask masking N / A elements in data for the variable .
def orange_isna(variable: Orange.data.Variable, data: ndarray) -> ndarray:
    """
    Return a bool mask masking N/A elements in `data` for the `variable`.
    """
    if variable.is_primitive():
        return np.isnan(data)
    else:
        return data == variable.Unknown
def orange_isna ( variable : Orange . data . Variable , data : ndarray ) -> ndarray : if variable . is_primitive ( ) : return np . isnan ( data ) else : return data == variable . Unknown