def col_major(self, new_col=None):
    '\n        Finds the majority of this CDF file\n\n        Other Parameters\n        ================\n        new_col : boolean\n            Specify True to change to column-major, False to change to\n            row major, or do not specify to check the majority\n            rather than changing it.\n            (default is check only)\n\n        Returns\n        =======\n        out : boolean\n            True if column-major, false if row-major\n        '
    if (new_col != None):
        new_maj = (const.COLUMN_MAJOR if new_col else const.ROW_MAJOR)
        self._call(const.PUT_, const.CDF_MAJORITY_, new_maj)
    maj = ctypes.c_long(0)
    self._call(const.GET_, const.CDF_MAJORITY_, ctypes.byref(maj))
    if (not (maj.value in (const.ROW_MAJOR.value, const.COLUMN_MAJOR.value))):
        raise CDFError(const.BAD_MAJORITY)
    return (maj.value == const.COLUMN_MAJOR.value)
Finds the majority of this CDF file

Other Parameters
================
new_col : boolean
    Specify True to change to column-major, False to change to
    row major, or do not specify to check the majority
    rather than changing it.
    (default is check only)

Returns
=======
out : boolean
    True if column-major, false if row-major
def col_major(self, new_col=None):
    '\n        Finds the majority of this CDF file\n\n        Other Parameters\n        ================\n        new_col : boolean\n            Specify True to change to column-major, False to change to\n            row major, or do not specify to check the majority\n            rather than changing it.\n            (default is check only)\n\n        Returns\n        =======\n        out : boolean\n            True if column-major, false if row-major\n        '
    if (new_col != None):
        new_maj = (const.COLUMN_MAJOR if new_col else const.ROW_MAJOR)
        self._call(const.PUT_, const.CDF_MAJORITY_, new_maj)
    maj = ctypes.c_long(0)
    self._call(const.GET_, const.CDF_MAJORITY_, ctypes.byref(maj))
    if (not (maj.value in (const.ROW_MAJOR.value, const.COLUMN_MAJOR.value))):
        raise CDFError(const.BAD_MAJORITY)
    return (maj.value == const.COLUMN_MAJOR.value)