I am trying to replace an ampersand with & in a label expression in ArcGIS Desktop 10.4.1
my current code is along these lines:
return replace([customer], '&', '&')
For some reason this throws the following error: "Global name replace is not defined."
What is the correct format for this python code?
I have also tried str.replace and Replace and string.replace.