title: Pass vector<vector<float> > from C++ to Python
body: <p>I am calling a Python module from C++ module. In my C++ module I have a <code>vector&lt;vector&lt;float&gt;&gt; data(size)</code>
  Now, i want to pass this to python where I will be doing some manipulations onto it.
  I see that the command <code>PyFloat_FromDouble</code> returns a <code>PyObject</code> and converts double to float. Now, I want my data to be in float and I get the result in <code>PyObject</code> form which I can further pass to python by <code>PyTuple_SetItem</code>.</p>
  
  <p>Does anyone knows how to pass a <code>vector&lt;vector&lt;float&gt; &gt;</code> to Python from C++. I am able to pass a 1D <code>vector&lt;double&gt;</code> to Python from C++ but need to pass 2D vector.</p>