'Initialize table from an existing Table object'

def _init_from_table(self, data, names, dtype, n_cols, copy):

    table = data
    self.meta.clear()
    self.meta.update(deepcopy(table.meta))
    self.primary_key = table.primary_key
    cols = list(table.columns.values())
    self._init_from_list(cols, names, dtype, n_cols, copy)
