Run »
import numpy as np arr = np.array(['apple', 'banana', 'cherry']) print(arr.dtype)
<U6