pub fn scalar_to_pyarrow<'py>( scalar: &ScalarValue, py: Python<'py>, ) -> PyResult<Bound<'py, PyAny>>