funtools.partial
functools — Higher-order functions and operations on callable objects
Tips
functional programming - Python: Why is functools.partial necessary? - Stack Overflow
function - Python functools partial efficiency - Stack Overflow
Use functools.partial and dictionaries to make prebuilt function calls to make your analysis code easy to read and follow!