If you can write an Excel formula, you can build your own function.
These are my go-to libraries for Python data crunching.
Abstract: Python is an excellent "steering" language for scientific codes written in other languages. However, with additional basic tools, Python transforms into a high-level language suited for ...
This procedure applies a Python function to the cases in the active dataset and saves the results to one or more new or existing variables. This allows you to apply Python functions to your case data, ...