@staticmethod
def reorder(seq):
    'Reorders seq to switch array majority\n\n        Used to take an array of subscripts between row\n        and column majority. First element is not touched,\n        being the record number.\n\n        @param seq: a sequence of *subscripts*\n        @type seq: sequence of integers\n        @return: seq with all but element 0 reversed in order\n        @rtype: sequence of integers\n        '
    return numpy.concatenate((seq[0:1], numpy.flipud(seq)[:(- 1)]))
Reorders seq to switch array majority

Used to take an array of subscripts between row
and column majority. First element is not touched,
being the record number.

@param seq: a sequence of *subscripts*
@type seq: sequence of integers
@return: seq with all but element 0 reversed in order
@rtype: sequence of integers
@staticmethod
def reorder(seq):
    'Reorders seq to switch array majority\n\n        Used to take an array of subscripts between row\n        and column majority. First element is not touched,\n        being the record number.\n\n        @param seq: a sequence of *subscripts*\n        @type seq: sequence of integers\n        @return: seq with all but element 0 reversed in order\n        @rtype: sequence of integers\n        '
    return numpy.concatenate((seq[0:1], numpy.flipud(seq)[:(- 1)]))