I am attempting to replace '??' in the following string: 'Martin ??degaard' the ?? should be an Ø but I am trying to replace it with just an O.
The string is located in a dataframe and I have attempted this using the following code:
df = df.replace('??', 'O', regex=True)
I end up getting the following error:
re.error: nothing to repeat at position 0
Any help would be much appreciated