SyntaxFix
Write A Post
Hire A Developer
Questions
With lambda function
df['column'] = df['column'].apply(lambda x : x if x > 0 else 0)