Answers for "converting 4hr 20min to minutes"

0

converting 4hr 20min to minutes

df['Duration']=  df['Duration'].str.replace("h", '*60').str.replace(' ','+').str.replace('m','*1').apply(eval)
Posted by: Guest on August-11-2020

Code answers related to "converting 4hr 20min to minutes"

Python Answers by Framework

Browse Popular Code Answers by Language