You are a machine learning engineer. You need to write the code snippet to convert the string values including numbers into numerical values.

You are given pandas dataframe with a column including these string values, for example $542 and $12.3. Could you give me the code snippet to convert these values into numerical values so that we can compare them? Please think step-by-step.