I have some time values that are in string format. I would like to return the value of the most recent or "max" time in a column. I noticed that argmax and idmax don't work for strings. I would like to avoid converting them to find the index of the max value. Is there a way to return the index of the max string value?
df['Start_time'].max()
returns: '2017-05-02 15:47:21'
df.loc[df['Start_time'].idxmax()]
returns: ValueError: could not convert string to float: '2017-01-26 16:33:16'