report_nan_values#
- movement.utils.reports.report_nan_values(da, label=None)[source]#
Report the number and percentage of keypoints that are NaN.
Numbers are reported for each individual and keypoint in the data.
- Parameters:
da (xarray.DataArray) – The input data containing
keypoints
andindividuals
dimensions.label (str, optional) – Label to identify the data in the report. If not provided, the name of the DataArray is used as the label. Default is
None
.
- Returns:
A string containing the report.
- Return type:
str