Which ratings did customers actually give? Store the distinct ratings (sorted ascending) in result.
import numpy as np ratings = np.array([5, 4, 4, 3, 5, 2, 4, 5, 3, 4])
Store your final answer in a variable named result.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.