I'm trying to decompse my columns using PCA .
I'm finding some difficulties about how to choose my n_components of the function PCA using scikit learn in python. I did this
sc = StandardScaler()
Z = sc.fit_transform(X)
pca = PCA(n_components = 5')
Can you explain me please .