Skip to main content

cast

Function cast 

Source
pub fn cast(a: &NdArrowArray, to: &DataType) -> Result<NdArrowArray>
Expand description

Cast the values, like ndarray.astype. Keeps the attributes.