title: How do I remove the 'dtype' being returned when using numpy?
body: <p>I'm a bit new to python and I have to write a function for class. It receives a numpy array and searches through it for certain integers. I use doctests to test the return values from the function and I'm receiving the dtype in my results.</p>
  
  <p>For example:</p>
  
  <pre><code>Expected:
  array([1,2,3])
  
  Got:
  (array([1,2,3], dtype=int64),)
  </code></pre>
  
  <p>The function will be auto-marked, so I'm unsure how to have it return correctly.</p>
  
  <p>I did some research and it was suggested to use numpy.astype to change the type to int32, however I receive an error when trying to do this as such.</p>
  
  <pre><code>myarray = myarray.astype('int32')
  </code></pre>
  
  <p>Is there any way to have it not show the dtype?</p>