get_dtype#
- named_arrays.get_dtype(value)#
Get the equivalent
numpy.ndarray.dtypeof the argument.If the argument is an instance of
numpy.ndarray, this function simply returnsnumpy.ndarray.dtype. Otherwise, this function wraps the argument in annumpy.array()call and then evaluates thedtype.