import numpy as np products = np.array([ ‘Shoes’, ‘Bags’, ‘Bags’, ‘Hats’, ‘Shoes’, ‘Shoes’, ‘Belts’, ‘Hats’ ]) np.unique(products)