transformation py