Computer/NN_Trainer/DataGenerator.py
def __incrementRowIdIndex(self):
        '''increases self.rowIdIndex by 1, but equals to 0 if exceeds the index limit of self.rowIdList'''
        if(self.rowIdIndex >= len(self.rowIdList)-1): #check if rowIdIndex is the last index
            self.rowIdIndex = 0
        else:
            self.rowIdIndex +=1
increases self.rowIdIndex by 1, but equals to 0 if exceeds the index limit of self.rowIdList
increases self.rowIdIndex by 1, but equals to 0 if exceeds the index limit of self.rowIdList
increases self . rowIdIndex by 1 but equals to 0 if exceeds the index limit of self . rowIdList
def __incrementRowIdIndex(self):
        if(self.rowIdIndex >= len(self.rowIdList)-1): 
            self.rowIdIndex = 0
        else:
            self.rowIdIndex +=1
def __incrementRowIdIndex ( self ) : if ( self . rowIdIndex >= len ( self . rowIdList ) - 1 ) : self . rowIdIndex = 0 else : self . rowIdIndex += 1
increases self.rowIdIndex by 1, but equals to 0 if exceeds the index limit of self.rowIdList
increases self . rowIdIndex by 1 but equals to 0 if exceeds the index limit of self . rowIdList
'''increases self.rowIdIndex by 1, but equals to 0 if exceeds the index limit of self.rowIdList''' #check if rowIdIndex is the last index
self