title: How to specify a random seed while using Python's numpy random choice?
body: <p>I have a list of four strings. Then in a Pandas dataframe I want to create a variable randomly selecting a value from this list and assign into each row. I am using numpy's random choice, but reading their documentation, there is no seed option. How can I specify the random seed to the random assignment so every time the random assignment will be the same?</p>
  
  <pre><code>service_code_options = ['899.59O', '12.42R', '13.59P', '204.68L']
  df['SERVICE_CODE'] = [np.random.choice(service_code_options ) for i in df.index]
  </code></pre>