'Make ``table`` in-place so that it represents the given list of ``cols``.'

@staticmethod
def _make_table_from_cols(table, cols):

    colnames = set((col.info.name for col in cols))
    if (None in colnames):
        raise TypeError(u'Cannot    have    None    for    column    name')
    if (len(colnames) != len(cols)):
        raise ValueError(u'Duplicate    column    names')
    columns = table.TableColumns(((col.info.name, col) for col in cols))
    for col in cols:
        col.info.parent_table = table
        if (table.masked and (not hasattr(col, u'mask'))):
            col.mask = FalseArray(col.shape)
    table.columns = columns
