code: def copy(self, *, shallow=False):
          
          table = type(self)()
          for label in self.labels:
              if shallow:
                  column = self[label]
              else:
                  column = np.copy(self[label])
              self._add_column_and_format(table, label, column)
          return table
docs: Return a copy of a table.