How do you do if/then statements in Delta Line Pipelines?

Andy_EU
New Contributor

How do you do if/then statements in Python based Delta Line Pipelines?

I'm essentially looking for the Python way of doing CASE statements.