title: Numpy's Future Warning for Comparison of Ndarrays when Trying to Create a Numpy Structured Array
body: <p>When trying to create a numpy structured array with the code below:</p>
  <pre><code>import numpy as np
  z = np.zeros([3,3], dtype=[(&quot;x&quot;,float)])
  print(z)
  </code></pre>
  <p>I'm getting two Future Warnings:</p>
  <pre><code>sys:1: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
  sys:1: FutureWarning: elementwise == comparison failed and returning scalar  instead; this will raise an error or perform elementwise comparison in the future.
  </code></pre>
  <p>I know about a stand off between Numpy and Python developers regarding the comparison of data types that led to this warning (as can be read here: <a href="https://stackoverflow.com/questions/40659212/futurewarning-elementwise-comparison-failed-returning-scalar-but-in-the-futur/46721064">FutureWarning: elementwise comparison failed; returning scalar, but in the future will perform elementwise comparison</a>) but I'm wondering why this Warning is being raised if I'm not doing any comparison, just trying to create a structured array.</p>
  <p>The numpy version in use is 1.21.2</p>