scipy.spatial.transform.Rotation. scipy.spatial.transform.Rotation.shape# property Rotation.shape# The shape of the rotation’s leading dimensions.