code :
import numpy from matplotlib.mlab import PCA file_name = \"store1_pca_matrix.txt\" ori_data = numpy.loadtxt(file_name,dtype=\'float\', comments=\'#\', de
This may be due to the singular nature of your input datamatrix (which you are feeding to PCA)