python array numpy array code example Example: numpy.array import numpy as np np.array(['A', 'B', 'C'])