Importing modules in Python is ubiquitous; most Python programs start with at least a few import statements. But the performance impact of those imports can be large—and may be entirely wasted effort ...
Make a Python function available in Calc, run it against the open spreadsheet, and troubleshoot missing macros or imports ...