/// Returns a binary vector indicating which indexes have null values.
Returns a binary vector indicating which indexes have null values.
Returns a binary vector indicating which indexes have null values .
pub fn def_levels(&self) -> Vec<i16> {
        self.values
            .iter()
            .map(|v| if v.is_some() { 1 } else { 0 })
            .collect()
    }
pub fn def_levels ( & self ) -> Vec < i16 > { self . values . iter ( ) . map ( | v | if v . is_some ( ) { 1 } else { 0 } ) . collect ( ) }
Returns a binary vector indicating which indexes have null values.
Returns a binary vector indicating which indexes have null values .
&self