pub fn try_cast(array: impl AsRef<Array>, dtype: &DType) -> VortexResult<Array>
Attempt to cast an array to a desired DType.
Some array support the ability to narrow or upcast.