Skip to main content

extract_vectors

Function extract_vectors 

Source
pub fn extract_vectors(array: &ArrayRef) -> Result<Vec<Vec<f32>>>
Expand description

Extract vectors from Arrow ListArray or FixedSizeListArray

Accepts both types for user convenience:

  • FixedSizeListArray: from Lance datasets or explicit construction
  • ListArray: from natural table construction with nested lists