title: Adding a datetime column in pandas dataframe from minute values
body: <p>I have a data frame where there is <code>time</code> columns having minutes from <code>0-1339 </code> meaning 1440 minutes of a day. I want to add a column <code>datetime</code> representing the day <code>2021-3-21</code> including hh amd mm like this <code>1980-03-01 11:00</code> I tried following code</p>
  <pre><code>from datetime import datetime, timedelta
  date = datetime.date(2021, 3, 21)
  days = date - datetime.date(1900, 1, 1)
  df['datetime'] = pd.to_datetime(df['time'],format='%H:%M:%S:%f') +  pd.to_timedelta(days, unit='d')
  </code></pre>
  <p>But the error seems like <code>descriptor 'date' requires a 'datetime.datetime' object but received a 'int'</code>
  Is there any other way to solve this problem or fixing this code? Please help to figure this out.</p>
  <pre><code>&gt;&gt;df
  time
  0
  1
  2
  3
  ..
  1339
  </code></pre>
  <p>I want to convert this minutes to particular format <code>1980-03-01 11:00</code> where I will use the date <code>2021-3-21</code> and convert the minutes to<code>hhmm</code> part. The dataframe will look like.</p>
  <pre><code>&gt;df
  datetime               time
  2021-3-21 00:00         0
  2021-3-21 00:01         1
  2021-3-21 00:02         2
  ...
  </code></pre>
  <p>How can I format my data in this way?</p>