pub fn check_min_samples<S, D, A>(
array: &ArrayBase<S, D>,
min_samples: usize,
name: A,
) -> CoreResult<()>Expand description
Checks if an array has at least the minimum number of samples
§Arguments
array- The array to checkmin_samples- The minimum required number of samplesname- The name of the array being checked
§Returns
Ok(())if the array has sufficient samplesErr(CoreError::ValueError)if the array has too few samples