title: Segmenting a series of Timedeltas to a minute by minute graph (pandas)
body: <p>I have a dataframe with the index as a Timedelta, ranging from 0 to 5 minutes, and a column of floating point numbers.</p>
  
  <p>Here's an example subset:</p>
  
  <pre><code>32  0.740283
  34  0.572126
  36  0.524788
  38  0.509685
  40  0.490219
  42  0.545977
  44  0.444170
  46  1.098387
  48  2.209113
  51  1.426835
  53  1.536439
  55  1.196625
  56  1.923569
  </code></pre>
  
  <p>The left being the timedelta in seconds, the right being the floating point number.    </p>
  
  <p><strong>The issue is when plotting with pandas I get an x axis with labels such as:<br>
  0 days 00:00:00, 0 days 00:01:10, 0 days 00:02:15</strong></p>
  
  <p>and so on. Is there any way I can maybe resample (wrong word?) the data so that I can have axes on a minute by minute basis while still maintaining the data points in the right place?</p>
  
  <p>Example code/data:</p>
  
  <pre><code>df = pd.DataFrame({'td':[32,34,36,38,40,42,44,51,53,152,283],
                     'val': np.random.rand(11)})
  
  df.index = df.td.map(lambda x: pd.Timedelta(seconds=x.astype(int)))
  df.drop(['td'], axis=1, inplace=True)
  df.val.plot()
  </code></pre>