hypertools.tools.missing_inds

hypertools.tools.missing_inds(x, format_data=True)[source]

Returns indices of missing data

This function is useful to identify rows of your array that contain missing data or nans. The returned indices can be used to remove the rows with missing data, or label the missing data points that are interpolated using PPCA.

Parameters
xarray or list of arrays
format_databool

Whether or not to first call the format_data function (default: True).

Returns
indslist, or list of lists

A list of indices representing rows with missing data. If a list of numpy arrays is passed, a list of lists will be returned.