script::python::rspython::copr_impl

Function try_into_columns

source
fn try_into_columns(
    obj: &PyObjectRef,
    vm: &VirtualMachine,
    col_len: usize,
) -> Result<Vec<VectorRef>>
Expand description

convert a tuple of PyVector or one PyVector(wrapped in a Python Object RefPyObjectRef) to a Vec<VectorRef> by default, a constant(int/float/bool) gives the a constant array of same length with input args