Hello,
I have a simple pandas data frame with 'Time' in HH MM SS format. All I want to do is convert the entire column into how many minutes that would be. I have a function:
def time_to_minutes(time_str):
try:
hours, minutes, seconds = [login to view URL](':')
except ValueError:
return -1
return int(hours)*60 + int(minutes) + int(seconds)/60.0
time_to_minutes(df['Time'].iloc[:0])
It works fine on ONE row of the data frame. But does not work on the entire series of the data frame. Need help!
Hello. It looks as elementary task can be done in couple of hours of pure working time
Relevant Skills and Experience
I have over 2 years of experience with python programming language
Hi,
I am Ajaya, data science researcher, professionally expert in Python-Numpy and Pandas.
I would like to place bid on this project as it cover my current work area.
Hope you will grand this me.
best
Ajaya