Sorry, but the example breaks here on my box:
np.concatenate(cross_val_score(pca, X)) returns '*** ValueError: 0-d arrays can't be concatenated'
is this an issue with np versions ?