How to convert time in decimals to time format I have a data set with a variable for hours in a decimal format (see example df).