title: How do I change time format in pandas?
body: <p>I am trying to change the format of a column (serie) in pandas.</p>
  
  <p>The column is datetime object in the following format: <code>2017-06-14 08:00:00</code></p>
  
  <p>I would like to format the column as: <code>2017-06-14T08:00Z</code>. Including <code>T</code> as separator and <code>Z</code> as UTC time</p>
  
  <pre><code>df["time(UTC)"].dt.strftime("%Y:%m%:%dT%H:%MZ")`
  </code></pre>
  
  <p>But is doesn't work.</p>
  
  <p>How can I do that?</p>