def asvalue(variable, data_array): ''' Converts a sequence of NumPy arrays or CSR arrays to a Value object. ''' return sanitize_batch(variable, data_array)