glue.utils.array.
coerce_numeric
Coerce an array into a numeric array, replacing non-numeric elements with nans.
If the array is already a numeric type, it is returned unchanged
arr : numpy.ndarray
The array to coerce