Pandas cannot convert input to timestamp error
<p>I have two variables in the data set beginning date (format datetime64[ns]) and end date(format datetime64[ns]). I'm using following code to get the dates between beginning date and end date.</p>

<pre><code>pd.date_range(start = data['beginning_date'], end = data['end_date'], freq = 'D')
</code></pre>

<p>but it's throwing following error.</p>

<pre><code>cannot convert input to timestamp
</code></pre>

<p>why I'm getting above error. I tried changing as below, but it doesn't work.</p>

<pre><code>pd.date_range(start = data['beginning_date'], end = data['end_date'], freq = 'D').astype('datetime')
</code></pre>

<p>and also i want each day as separate record, for example: beginning_date = 01APR2015 and end_date = 30APR2015, i want each day as separate record as below.</p>

<pre><code> 01APR2015
 02APR2015 etc
</code></pre>

<p>How can I get it as a separate record?</p>

<p>Thanks in Advance.</p>