Every line of 'pandas replace values in column based on multiple condition' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
68 def replace_col(e: Expression) -> Expression: 69 if isinstance(e, Column) and e.column_name == "c1": 70 return c3 71 return e