title: Can't append global NumPy array from other module
body: <p>I have a problem while modifying an NumPy array in depended module, that was previously defined in parrent module. I have checked, and it's modifying only localy in the function <strong>calc()</strong>
  How can I modify an NumPy array that was defined in other module, inside a function?</p>
  
  <p><strong>main_module.py</strong></p>
  
  <pre><code>import numpy as np
  from pprint import pprint
  test_array = np.array([1, 2, 3])
  pprint(test_array)
  </code></pre>
  
  <p><strong>process.py</strong></p>
  
  <pre><code>from main_module import *
  def calc():
      global test_array
      test_array = np.append(test_array, [4])
      pprint(test_array)
  calc()
  pprint(test_array)
  </code></pre>