Convert numpy array to list of datetimes
<p>I have a 2D array of dates of the form:</p>

<pre><code>[Y Y Y ... ]
[M M M ... ]
[D D D ... ]
[H H H ... ]
[M M M ... ]
[S S S ... ]
</code></pre>

<p>So it looks like</p>

<pre><code>data = np.array([
    [2015, 2015, 2015, 2015, 2015, 2015], # ...
    [   1,    1,    1,    1,    1,    1],
    [   1,    1,    1,    2,    2,    2],
    [  23,   23,   23,    0,    0,    0],
    [   4,    5,    5,   37,   37,   37],
    [  59,    1,    2,   25,   27,   29]
])
</code></pre>

<p>What would be the best way to convert this into one list of datetime objects?</p>