DOC: docstring for transform