I have a data frame with a column of float data (e.g. 1.15 or 12.50).The first number represent hour and the digit represent minutes. I want to format it in order to have 4 numbers by adding 0 to some of the values where the hour is one number (e.g.1.25 to be 01:25) and I want to change the format to be hh:mm.
I used todatetime but it did not work.
Does anyone have any idea on how to achieve this.