<human>:  converting currency with $ to numbers in Python pandas
<bot>:', '', regex=True).astype(float)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.