title: Saving a 3D numpy array to .txt file
body: <p>I'm just asking the question because it worked two days ago on my desktop, but as I'm trying to run this on my laptop, it doesn't work.</p>
  
  <pre><code>array = numpy.zeros((3,3,1))
  numpy.savetxt("nxx", array, fmt='%s')
  </code></pre>
  
  <p>This gives me the following error:</p>
  
  <p>"Expected 1D or 2D array, got %dD array instead" % X.ndim)
  ValueError: Expected 1D or 2D array, got 3D array instead</p>