SyntaxFix
Write A Post
Hire A Developer
Questions
Or if one want to use lambda function in the apply function:
lambda
apply
data['Revenue']=data['Revenue'].apply(lambda x:float(x.replace("$","").replace(",", "").replace(" ", "")))