Convert timestamps into fraction of day in pandas

I want to convert the time in the format hh:mm into the fraction of the day . I have the dataframe in which I have the column of duration


I want to convert this column into the fraction of day

Read more here:

Content Attribution

This content was originally published by Tayyab Gulsher Vohra at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: