#NEWLINE# def __iter__( self ) : #NEWLINE# #INDENT# X = self . X #NEWLINE# ( nobs , k_vars ) = np . shape ( X ) #NEWLINE# for i in range ( nobs ) : #NEWLINE# #INDENT# index = np . ones ( nobs , dtype = np . bool ) #NEWLINE# index [ index ] = False #NEWLINE# ( yield X [ index , : ] )