title: How to implement a ruleset in Python
body: <p>I process a large dataset where based on column A I want to process some other columns in particular ways.</p>
  
  <p>If column A has "processLastNameOnly", then I only process LastName.
  If column A has "processMiddleAsFirst", then I process Middle Name as First Name.</p>
  
  <p>Etc.</p>
  
  <p>These rules are plenty and complex, and I want to maintain them in a separate file in some preferably standard "ruleset" format.</p>
  
  <p>Is there a commonly used format for such rules? How do I use it from within Python code?</p>