title: Pandas AttributeError: 'DataFrame' object has no attribute 'Datetime'
body: <p>I am working with holt winter method taking <a href="https://www.analyticsvidhya.com/blog/2018/02/time-series-forecasting-methods/" rel="nofollow noreferrer">help from here</a>. My data format is </p>
  
  <pre><code> Year       Rate
  0  2013  34.700000
  1  2013  34.666667
  2  2013  34.600000
  3  2014  35.300000
  4  2014  34.180000
  </code></pre>
  
  <p>Below is my code</p>
  
  <pre><code>import pandas as pd 
  
  #Importing data
  
  df = pd.read_csv('/home/rajnish.kumar/eclipse-workspace/ShivShakti/Result/weeklyDatarateyearonly/part-00000-971f46d7-a97d-4a7e-be41-dc840c2d0618-c000.csv')
  
  df.Timestamp = pd.to_datetime(df.Datetime,format='%Y') 
  </code></pre>
  
  <p>But I am getting this error:</p>
  
  <blockquote>
    <p>AttributeError: 'DataFrame' object has no attribute 'Datetime'</p>
  </blockquote>