I have an array a that may be of any popular dtype, including np.str_ or any standard Python type (stored as np.object_).
a
dtype
np.str_
np.object_