I wanted to replace a string : 'li\\oa' by 'ext' but I get this error
error: octal escape value \505 outside of range 0-0o377
I know that the problem is: string containing these chracters '\\', so the question is : How can i read these backslashes as a string.
df['col']= df['col'].replace(['li\\oa'],['ext'], regex=True)