Human: How can I convert a string with dot and comma into a float number in Python Assistant: 
Here is some code to convert a string `123,456.908` with dot and comma into a floating number

float('123,456.908'.replace(',', ''))

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