iundefinedi#
- class iundefinedi(arr, inds)[source]#
Returns the indices that are undefined in the array – name is short for indices[defined[indices]]
- Parameters:
arr (array) – any array, used as a filter
inds (array) – an array of indices for the original array
Example:
inds = hpv.iundefinedi(np.array([4,np.nan,0,np.nan,np.nan,4,7,4,np.nan]), inds=np.array([0,1,3,5]))