title: Is there a simple way to convert a 2d list of floats into a 2d list of tuples in python?
body: <p>Let's say I have a 2d list of floats, so something such as</p>
  
  <pre><code>[[0.1, 0.2], [1.1, 1.2]]
  </code></pre>
  
  <p>I would like to convert this to something such as</p>
  
  <pre><code>[[(0, 0.1), (0, 0.2)], [(0, 1.1), (0, 1.2)]]
  </code></pre>
  
  <p>I'm wondering if there is a better or shorter way of doing this then using a loop like the following</p>
  
  <pre><code>for i in range(len(float_array)):
       for j in range(len(float_array[i])):
            float_array[i][j] = (0, float_array[i][j])
  </code></pre>