I have to create a numpy.ndarray from array-like data with int, float or complex numbers.
I hope to do it with numpy.asarray function.
I don't want to give it a strict dtype argument, because I want to convert complex values to complex64 or complex128, floats to float32 or float64, etc.
But if I just simply run numpy.ndarray(some_unknown_data) and look at the dtype of its result, how can I understand, that the data is numeric, not object or string or something else?