Human: converting currency with $ to numbers in Python pandas Assistant: 
Here is some code to remove dollar sign '$' from second to last column data in dataframe 'df' and convert the data into floats

df[df.columns[1:]].replace('[\\$,]', '', regex=True).astype(float)

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