title: How can I put a string to an array
body: <p>I want to put a string to an array location but I get an error:</p>
  
  <blockquote>
    <p>ValueError: could not convert string to float</p>
  </blockquote>
  
  <p>My code is the following:</p>
  
  <pre><code>k = np.ceil(99/8)
  
  rs = np.zeros((int(k), 10))
  
  for i in range(0, int(k)):
      rs[i, 0] = "FREQ"
      for j in range(1,9):
          rs[i, j] = rs_imp[8*k+j, 0]
  </code></pre>