title: How to extract coordinates of a geometric object without array in Shapely
body: <p>How to extract only the value from an array without the text "array" and "typecode"?</p>
  
  <p>Array is <code>shapely.linestring.centroid.xy</code>:</p>
  
  <pre><code>a = LineString.centroid.xy
  print(a)
  &gt;&gt; (array('d', [-1.72937...45182697]), array('d', [2.144161...64685937]))
  print(a[0])
  &gt;&gt; array('d', [-1.7293720645182697])
  </code></pre>
  
  <p>I need only the <code>-1.7293...</code> as a float not the whole <em>array</em> business.</p>