title: How to extend Numpy array class with append() function?
body: <p>How can I achieve:</p>
  <pre><code>&gt;&gt;&gt; foo = np.array([1,2,3])
  array([1,2,3])
  &gt;&gt;&gt; foo.append(4)
  array([1,2,3,4])
  </code></pre>
  <p>Instead of numpy's:</p>
  <pre><code>np.append(foo, 4)
  </code></pre>
  <p>I've tried stuff along the lines of:</p>
  <pre><code>import numpy as np
  class myarrayclass(np.array):
      def append(self, value):
          self.object = np.append(self.object, value)
  </code></pre>
  <p>Also, is it possible to overwrite the numpy class instead of creating my own?
  I don't <em>need</em> this to work, just wondering if it is possible, thanks in advance!</p>