Hi, I’m trying to use a replace function as part of this exercise
jeopardy.Value= jeopardy.Value.apply(str.replace('$' , ''))
I’m trying to replace a dollar sign with an empty string to remove it, but the code gives me this error message.
Traceback (most recent call last): File "script.py", line 33, in <module> jeopardy.Value= jeopardy.Value.apply(str.replace('$' , '')) TypeError: replace() takes at least 2 arguments (1 given)
I’ve tried many different arguments, but they all throw up the same error, It won’t recognise that I’ve input two arguments. Does anyone know what’s wrong? Thanks in advance.