def cont_c(self, percent=0.9, N=None):  # bug? check axis number 0 vs 1 here
		"""Return the contribution of each column."""

		if not hasattr(self, 'G'):
			self.fs_c(N=self.rank)  # generate G
		return apply_along_axis(lambda _: _/self.L[:N], 1,
			   apply_along_axis(lambda _: _*self.c, 0, self.G[:, :N]**2))
def cont_c ( self , percent = 0.9 , N = None ) : if not hasattr ( self , 'G' ) : self . fs_c ( N = self . rank ) return apply_along_axis ( lambda _ : _ / self . L [ : N ] , 1 , apply_along_axis ( lambda _ : _ * self . c , 0 , self . G [ : , : N ] ** 2 ) )
Return the contribution of each column.