(self, numcols=None)
return
Automatically add x number of cols
Automatically add x number of cols
Automatically add x number of cols
def autoAddColumns(self, numcols=None):
        """Automatically add x number of cols"""

        #alphabet = string.lowercase[:26]
        alphabet = string.ascii_lowercase
        currcols=self.getColumnCount()
        #find where to start
        start = currcols + 1
        end = currcols + numcols + 1
        new = []
        for n in range(start, end):
            new.append(str(n))
        #check if any of these colnames present
        common = set(new) & set(self.columnNames)
        extra = len(common)
        end = end + extra
        for x in range(start, end):
            self.addColumn(str(x))
        return
def autoAddColumns ( self , numcols = None ) : #alphabet = string.lowercase[:26] alphabet = string . ascii_lowercase currcols = self . getColumnCount ( ) #find where to start start = currcols + 1 end = currcols + numcols + 1 new = [ ] for n in range ( start , end ) : new . append ( str ( n ) ) #check if any of these colnames present common = set ( new ) & set ( self . columnNames ) extra = len ( common ) end = end + extra for x in range ( start , end ) : self . addColumn ( str ( x ) ) return