Currently, the abstract class UnaryTransformer is only implemented in Scala. In order to make Pyspark easier to extend with custom transformers, it would be helpful to have the implementation of UnaryTransformer in Python as well.
This task involves:
- implementing the class UnaryTransformer in Python
- testing the transform() functionality of the class to make sure it works