How To Use Transform In Python