title: Pandas: Generating hourly data from daily data from csv
body: <p>I have a CSV file which has daily data as follows:</p>
  
  <pre><code>DateTime        Price
  10/3/2016 0:00  2.84
  9/30/2016 0:00  2.84
  9/29/2016 0:00  2.98
  9/28/2016 0:00  3.07
  </code></pre>
  
  <p>I wanted to create 24 hour price series for each day above and the hourly prices will be same as the daily price I read from the csv file.</p>
  
  <p>I am doing the following:</p>
  
  <pre><code>import pandas as pd
  price4mCSV = pd.read_csv(r'C:\Price.csv', index_col='DateTime', parse_dates=['DateTime']).asfreq('1H', method='ffill')
  </code></pre>
  
  <p>However, <code>price4mCSV</code> is blank.</p>