<s>[INST] # Python Pandas Dataframe Issue: TypeError: '<' not supported between instances of 'str' and 'float'

I am trying to find the maximum value in a pandas Dataframe, but getting the error "TypeError: '<' not supported between instances of 'str' and 'float'". The error is happening when I try to find the maximum value in the 'value' column. I am assuming it is because the 'value' column contains both numeric and non-numeric data. Is there a way to handle this error?[/INST]