We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceabab5 commit e5ebaf4Copy full SHA for e5ebaf4
encodings/runend/src/compute/nan_count.rs
vortex-array/src/compute/nan_count.rs
@@ -27,7 +27,7 @@ where
27
/// This will update the stats set of this array (as a side effect).
28
pub fn nan_count(array: &dyn Array) -> VortexResult<Option<usize>> {
29
if array.is_empty() || array.valid_count()? == 0 {
30
- return Ok(None);
+ return Ok(Some(0));
31
}
32
33
let nan_count = array
0 commit comments