title: Why is shape empty?
body: <p>This code creates a 10-element array. </p>
  
  <ol>
  <li>Why is size 1? Shouldn't it be 0?</li>
  <li>why is shape empty? Shouldn't it be 1 dimension?</li>
  </ol>
  
  <pre><code>    In [14]: s = np.array(10)                                                                            
  
      In [15]: s                                                                                           
      Out[15]: array(10)
  
      In [16]: s.size                                                                                      
      Out[16]: 1
  
      In [17]: s.shape                                                                                     
      Out[17]: ()
  </code></pre>