code: def write_table(self, table, rows, append=False, gzip=False):
          
          _write_table(self.root,
                       table,
                       rows,
                       self.table_relations(table),
                       append=append,
                       gzip=gzip,
                       encoding=self.encoding)
docs: Encode and write out *table* to the profile directory.
  
          Args:
              table: The name of the table to write
              rows: The rows to write to the table
              append: If `True`, append the encoded rows to any existing
                  data.
              gzip: If `True`, compress the resulting table with `gzip`.
                  The table's filename will have `.gz` appended.