title: How to serialize a numpy array of floats to a string?
body: <p>I have a huge numpy array of floats, say ~1500*2500px and I want to</p>
  
  <ol>
  <li>convert this array to a <code>list</code> (like javascript) (e.g. <code>[[0.1,0.3,0.2],[0.1,0.3,0.2]]</code>)</li>
  <li>serialize it to a string for a POST request to a server.</li>
  </ol>
  
  <p>I don't know how to do (1). For (2) I took a look at <code>numpy.array_str()</code>, <code>array2string()</code> and <code>array_repr()</code> functions and they return representations of the array but not the full array.</p>
  
  <p>How should I do this?</p>