df['minutes'] = [0, 360, 1000, 1439]
I have a pandas df with a column called minutes that I would like to convert to datetime.
The desired result would look like the following (or a similar datetime format):
df['new_min'] = ["00:00","06:00","16:40","23:59"]
This didn't seem to work quite the way I wanted it to.
df['new_min']=pd.TimedeltaIndex(df['minutes'], unit='m')