title: removing time from date&time variable in pandas?
body: <p>i have a variable consisting of 300k records with dates and the date look like<br>
  2015-02-21 12:08:51<br>
  from that date i want to remove time </p>
  
  <p>type of date variable is pandas.core.series.series </p>
  
  <p>This is the way i tried</p>
  
  <pre><code>from datetime import datetime,date
  date_str = textdata['vfreceiveddate']  
  format_string = "%Y-%m-%d"
  then = datetime.strftime(date_str,format_string)   
  </code></pre>
  
  <p>some Random ERROR</p>
  
  <p>In the above code textdata is my datasetname and vfreceived date is a variable consisting of dates<br>
  How can i write the code to remove the time from the datetime.</p>