Construct a Python program to perform principal component analysis
A dataset of 10 rows and 3 columns
from sklearn.decomposition import PCA

def pca_transformation(X):
    pca = PCA()
    X_pca = pca.fit_transform(X)
    return X_pca