Wrapper for shnitsel.core.ml.pca().
shnitsel.core.ml.pca()
dim (str)
n_components (int)
return_pca_object (bool)
tuple[DataArray, PCA] | DataArray