title: Difference between these array shapes in numpy
body: <p>What is the difference between 2 arrays whose shapes are-</p>
  
  <p><strong>(442,1)</strong>  and  <strong>(442,)</strong> ?  </p>
  
  <p>Printing both of these produces an identical output, but when I check for equality <strong>==</strong>, I get a 2D vector like this-</p>
  
  <pre><code>array([[ True, False, False, ..., False, False, False],
         [False,  True, False, ..., False, False, False],
         [False, False,  True, ..., False, False, False],
         ..., 
         [False, False, False, ...,  True, False, False],
         [False, False, False, ..., False,  True, False],
         [False, False, False, ..., False, False,  True]], dtype=bool)
  </code></pre>
  
  <p>Can someone explain the difference?</p>