I want a numpy array of size n, with words from the list words = ["high","low","neutral"] filled up to size n randomly.
I tried x = [random.sample(words,1) for i in range(1,101)].
This gave the output like this: [['low'],['high']...]
I want the output as: ['high','low','low',....]