I have a pretty simple function to get an engineering unit based on a description,
def getEngUnits(desc):
eu = desc
if "temp" in desc or "heat" in desc or "cool" in desc:
eu = "°C"
elif "pressure" in desc:
eu = "kPa"
return eu
Then these go into a dataset, and instead of “°C” its showing “°C”. Anyone know why this is being inserted? I’ve tried with single quotes around it in the assignment, but no luck.