title: Sampling a datetime from lines for days and columns for hours
body: <p>I have a matrix where lines represent days and columns represent hours. I am looking for resampling this data to have a datetime as index.</p>
  
  <p><code>DATES; H0;H1;H2;H3;... 
  01/01/2013;...;...;...;...;... 
  02/01/2013;...;...;...;...;...</code></p>
  
  <p>When I use the df.resample('H') function I get the following results. I want now match the columns value with the hours of each day to fill the values.</p>
  
  <p><code>2013-01-01 00:00:00 1.35882 
  2013-01-01 01:00:00 NaN 
  2013-01-01 02:00:00 NaN 
  2013-01-01 03:00:00 NaN 
  2013-01-01 04:00:00 NaN</code></p>
  
  <p>Does anyone please have an idea on how to proceed?</p>
  
  <p>Thanks Alexis</p>