def transpose(self):
        """
        Returns a copy of this databox with the columns as rows.
        
        Currently requires that the databox has equal-length columns.
        """
        # Create an empty databox with the same headers and delimiter.
        d = databox(delimter=self.delimiter)
        self.copy_headers(d)
        
        # Get the transpose
        z = _n.array(self[:]).transpose()
        
        # Build the columns of the new databox
        for n in range(len(z)): d['c'+str(n)] = z[n]
        
        return d
def transpose ( self ) : d = databox ( delimter = self . delimiter ) self . copy_headers ( d ) z = _n . array ( self [ : ] ) . transpose ( ) for n in range ( len ( z ) ) : d [ 'c' + str ( n ) ] = z [ n ] return d
Returns a copy of this databox with the columns as rows.
        
        Currently requires that the databox has equal-length columns.