python is open to anything you provide to it. So can you execute the algorithms....yes.
Now I have to point out IDQ does not support python transform as it requires a spark execution so unless you have a license for DEQ (data engineering Quality) you will not be able to use it.
An alternative is to use a Java Transformation which invokes a Python interpreter as an operating-system command. You just have to make sure that you read and process the output of the Python program after the execution succeeded, but that shouldn't be a big problem.
If you need, we can help you with setting up a suitable Java transformation. Basically the java.lang method Runtime.exec() is your friend here.