Transform operation on partition