title: IDE thinks ndarray (n>1) that is operated on by a float (int, etc.) is a float int, etc.)
body: <p>Say </p>
  
  <pre><code>a = np.arange(15).reshape(3,5)
  b = a - 1
  b[2, 1] = 3
  </code></pre>
  
  <p>Pycharm marks yellow on <code>b[2]</code> and complains: </p>
  
  <pre><code>Class 'int' does not define '__getitem__', so the '[]' operator cannot be used on its instances
  </code></pre>
  
  <p>On the other hand, this would be fine:</p>
  
  <pre><code>a = np.arange(15)
  b = a - 1
  b[2] = 3
  </code></pre>
  
  <p>This is really stupid and annoying. How to get rid of it?</p>