pandas convert text duration to minutes

Solutions on MaxInterview for pandas convert text duration to minutes by the best coders in the world

showing results for - "pandas convert text duration to minutes"
Liah
01 May 2016
1df['Duration']=  df['Duration'].str.replace("h", '*60').str.replace(' ','+').str.replace('m','*1').apply(eval)
2
similar questions
queries leading to this page
pandas convert text duration to minutes