The transformations package defines various transformations that can be applied on structures, i.e., converting one structure to another.
pymatgen.symmetry.structure module
pymatgen.transformations.advanced_transformations module