title: Combining two 1D arrays of different data types into 1 2D array in PYTHON
body: <p>I have 2 lists of numbers: a and b. A is a list of node numbers with type integer and b is a list of X coordinates with type float64. I want to combine these 2 equal length arrays (N) into an Nx2 array that preserves the data types. I am using this array later on in some boolean tests, so I need the first column to be integers. I've been using:</p>
  
  <pre><code>nodeID = np.concatenate([[a],[b]]).T
  </code></pre>
  
  <p>but obviously this converts everything into floating point numbers.</p>
  
  <p>Thanks! </p>