pub fn array_to_dict<'py>( py: Python<'py>, array: &ArrayDataset, ) -> Result<Bound<'py, PyDict>, EvaluationError>